Create red team run
Create a new red team run to generate adversarial prompts
GET /api/dataframer/red-team-runs/{id}/status/ until status changes from PENDING/RUNNING to SUCCEEDED or FAILED.Authorizations
API Key authentication. Format: "Bearer YOUR_API_KEY"
Body
Request body for creating a red team run
ID of the red team spec to use
Number of adversarial behaviors to generate
x >= 1Number of adversarial prompts to generate for each behavior
x >= 1Model to use for generating adversarial prompts
deepseek-ai/DeepSeek-V3.1, deepseek-ai/DeepSeek-R1-0528-tput, moonshotai/Kimi-K2-Instruct, openai/gpt-oss-120b Response
Red team run created and submitted for processing
A red team run that generates adversarial prompts based on a spec
Unique identifier for the run
ID of the red team spec used for this run
Name of the associated red team spec
ID of the company that owns this run
Name of the company that owns this run
Number of adversarial behaviors to generate
x >= 1Number of adversarial prompts to generate for each behavior
x >= 1Model to use for generating adversarial prompts
deepseek-ai/DeepSeek-V3.1, deepseek-ai/DeepSeek-R1-0528-tput, moonshotai/Kimi-K2-Instruct, openai/gpt-oss-120b Current status of the run
PENDING, PROCESSING, SUCCEEDED, FAILED, CANCELED Timestamp when the run completed (null if still running)
Internal task ID for tracking the async job
Execution trace for debugging (internal use)
Generated adversarial behaviors and prompts (null while running)
Error message if the run failed
ID of the user who created this run
Email of the user who created this run
Timestamp when the run was created

