Skip to main content
GET
/
api
/
dataframer
/
red-team-specs
/
{spec_id}
Get red team spec
curl --request GET \
  --url https://df-api.dataframer.ai/api/dataframer/red-team-specs/{spec_id}/ \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "domain_description": "<string>",
  "app_description": "<string>",
  "concerns": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "company_name": "<string>",
  "created_by": 123,
  "created_by_email": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Path Parameters

spec_id
string<uuid>
required

UUID of the red team spec

Response

Red team spec details

A red team specification defining the application context for adversarial prompt generation

id
string<uuid>

Unique identifier for the red team spec

name
string

Name of the red team spec (auto-converted to snake_case)

domain_description
string

Description of the domain or industry the application operates in

app_description
string

Description of the application being tested, including its purpose and functionality

concerns
string | null

Specific security concerns or behaviors to focus on during red teaming

created_at
string<date-time>

Timestamp when the spec was created

updated_at
string<date-time>

Timestamp when the spec was last modified

company_id
string<uuid>

ID of the company that owns this spec

company_name
string

Name of the company that owns this spec

created_by
integer

ID of the user who created this spec

created_by_email
string

Email of the user who created this spec