Skip to main content
GET
Python

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Path Parameters

run_id
string<uuid>
required

UUID of the red team run

Response

Red team run details

A red team run that generates adversarial prompts based on a spec

id
string<uuid>
read-only

Unique identifier for the run

red_team_spec_id
string<uuid>

ID of the red team spec used for this run

spec_name
string
read-only

Name of the associated red team spec

company_id
string<uuid>
read-only

ID of the company that owns this run

company_name
string
read-only

Name of the company that owns this run

number_of_behaviors
integer

Number of adversarial behaviors to generate

Required range: x >= 1
number_of_prompts_per_behavior
integer

Number of adversarial prompts to generate for each behavior

Required range: x >= 1
model_name
enum<string>

Model to use for generating adversarial prompts

Available options:
deepseek-ai/DeepSeek-V3.1,
deepseek-ai/DeepSeek-R1-0528-tput,
moonshotai/Kimi-K2-Instruct,
openai/gpt-oss-120b
status
enum<string>
read-only

Current status of the run

Available options:
PENDING,
PROCESSING,
SUCCEEDED,
FAILED,
CANCELED
completed_at
string<date-time> | null
read-only

Timestamp when the run completed (null if still running)

task_id
string | null
read-only

Internal task ID for tracking the async job

trace
object | null
read-only

Execution trace for debugging (internal use)

results_json
object | null
read-only

Generated adversarial behaviors and prompts (null while running)

Example:
error_message
string | null
read-only

Error message if the run failed

created_by
integer
read-only

ID of the user who created this run

created_by_email
string
read-only

Email of the user who created this run

created_at
string<date-time>
read-only

Timestamp when the run was created