Run Red Team Simulation
Security
Run Red Team Simulation
Run red team simulation (always runs asynchronously)
Generates adversarial attacks using specified attack vectors and evaluates them for safety violations.
Returns immediately with a job_id. Use WebSocket or polling to track progress.
Request Body:
{
"project_id": "uuid",
"run_name": "v1.0 Security Test",
"attack_vector_keys": ["jailbreak", "rot13"],
"attacks_per_vector": 5
}
POST
Run Red Team Simulation
Authorizations
Valiqor API key. Pass as Bearer token: Authorization: Bearer vq-xxxxxxxxxxxxxxxxxxxx
Body
application/json
Request to run red team simulation
Project name (will be created if doesn't exist)
Attack vector keys to use (e.g., ['jailbreak', 'rot13'])
Number of attacks per vector
Target vulnerability keys (e.g., ['s1-violence'])
Optional configuration
Optional OpenAI key override
Response
Successful Response