Start Red Team Evaluation
[BETA] This endpoint is not GA or Production ready and is subject to changes at any time. Breaking changes may occur.
Start a new red team client workflow. Auto-triggers planning phase. Client should then poll /next-action.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
Name for this evaluation
target_model
Target model identifier
objective_ids
Objective IDs to evaluate
execution_strategy_type
Execution strategy type
n_random_techniques
Number of random techniques to use
max_parallel_techniques
Maximum parallel techniques
max_turns
Maximum conversation turns
attacker_max_generation_attempts
Maximum generation attempts for attacker
refusal_judge_model
Model for refusal judging
objective_judge_model
Model for objective judging
evaluation_report_model
Model for evaluation report
attacker_model
Model for attacker
hl_project_id
HiddenLayer project ID
prompt_set_id
Prompt set ID for static prompt evaluation
sessions_per_technique
Number of sessions per technique
target_system_prompt
System prompt for the target
Response
Workflow started successfully
workflow_id
Workflow identifier
run_id
Run identifier
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error