Red Team Evaluations

Get Next Action

Poll for next action - CLIENT'S MAIN POLLING ENDPOINT.

This endpoint is designed to be polled repeatedly by the client. Returns immediately with current state:

  • If attack ready: Returns attack_task with prompt
  • If processing: Returns processing=true (client continues polling)
  • If complete: Returns action_type=complete
get/evaluations/v1-beta/red-team/{workflow_id}/next-action

Path parameters

workflow_idstring required

The workflow identifier

Response

Next action for client

is_readyboolean required

Whether an action is ready

is_processingboolean

Whether processing is in progress

action_typestring

Type of action (e.g., "attack", "complete")

messagestring

Status message

session_idstring

Session identifier

turninteger

Current turn number

attack_promptstring

Attack prompt to send to target

historyobject[]

Conversation history

target_system_promptstring

Target's system prompt

Changes