Authorizations
Body
application/json
Response
200 - application/json
Successful Response
Example:
"red-team-6c3babbe-3bc4-4553-a0b7-454df720579f"
Status of the task
Available options:
Success
, Failed
Example:
"Success"
Example:
"Redteam task has been added successfully"
Example:
{
"status": "Success",
"message": "Redteam task has been added successfully",
"task_id": "red-team-dd42eac8-ce07-4e79-8ee2-8b7dba083a76",
"data": {
"id": "9a010225-ca18-456b-9513-xxxxxxx",
"test_name": "Test Old v2",
"created_at": "2025-04-16T16:33:36.009729+00:00",
"job_id": "red-team-dd42eac8-ce07-4e79-8ee2-8b7dba083a76",
"dataset_name": "standard",
"model_name": "Mistral-7B-Instruct-v0.1",
"model_config": {
"testing_for": "foundationModels",
"model_name": "mistralai/Mistral-7B-Instruct-v0.1",
"rpm": null,
"model_version": null,
"system_prompt": "",
"conversation_template": null,
"model_source": null,
"model_provider": "together",
"model_endpoint_url": "https://api.together.xyz/v1/chat/completions",
"rate_per_min": 10,
"input_modalities": null,
"output_modalities": null,
"custom_curl_command": null,
"custom_headers": null,
"custom_payload": null,
"custom_response_content_type": null,
"custom_response_format": null,
"tools": null,
"metadata": null
},
"redteam_config": {
"harmful_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] }
}
},
"status": "Queued",
"location": "9a010225-ca18-456b-9513-xxxxxxx/red-team-dd42eac8-ce07-4e79-8ee2-8b7dba083a76",
"run_name": null,
"project_name": "default",
"actioner_email": null,
"test_version": 3,
"model_saved_name": null,
"model_version": null,
"coc_policy_name": null
}
}