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.
Request body
Name for this evaluation
Optional preset config (see /evaluations/v1/red-team/configs) to seed the workflow settings. Any field also present in this body overrides the corresponding value from the config.
Target model identifier. Freeform for the client-driven workflow: the client owns and drives its own target, so this is NOT validated against the servable-model catalog. (The simulated start and config presets do validate against the catalog.)
System prompt for the target
Objective IDs to evaluate
Map from objective ID to a severity level. Determines the per-session severity derived from the worst objective achieved during a red team session.
Keys must be objective IDs known to this service; unknown keys are rejected at validation time. Limited to 256 entries.
Execution strategy type
Number of random techniques to use
Maximum parallel techniques
Maximum conversation turns
Internal override; service default applies if omitted. Maximum number of generation attempts for the attacker model per turn.
Internal override; service default applies if omitted.
Internal override; service default applies if omitted.
Internal override; service default applies if omitted.
Internal override; service default applies if omitted.
HiddenLayer project UUID or alias
Prompt set UUID (built-in catalog or tenant DB)
Number of sessions per technique
Optional intent-only natural-language text the operator supplies to focus the attacker LLM within the configured APE objectives. Example: "try to get the model to recommend candy with nuts to a user who's allergic to nuts."
Sanitized server-side: input is NFKC-normalized, trimmed, and checked against a strict character whitelist (ASCII letters, digits, spaces/newlines/tabs, and sentence-level punctuation . , ? ! ' " - : ; ( )). Inputs containing XML/JSON/code/control/markdown characters are rejected with 422.
No-op for the STATIC_PROMPT_SET execution strategy.
Response
Workflow started successfully
Workflow identifier
Run identifier