Create a new red team specification. The spec name will be converted to snake_case and must be unique within your company.
API Key authentication. Format: "Bearer YOUR_API_KEY"
Request body for creating a red team spec
Name for the spec (will be converted to snake_case, must be unique within company)
Description of the domain or industry the application operates in (e.g., 'Healthcare', 'E-commerce', 'Financial services')
Description of the application being tested, including its purpose and key functionality
Optional specific security concerns or undesirable behaviors to focus on (e.g., 'Should not provide medical diagnoses')
Red team spec created successfully
A red team specification defining the application context for adversarial prompt generation
Unique identifier for the red team spec
Name of the red team spec (auto-converted to snake_case)
Description of the domain or industry the application operates in
Description of the application being tested, including its purpose and functionality
Specific security concerns or behaviors to focus on during red teaming
Timestamp when the spec was created
Timestamp when the spec was last modified
ID of the company that owns this spec
Name of the company that owns this spec
ID of the user who created this spec
Email of the user who created this spec