Skip to main content
POST
Submit Eval Batch

Authorizations

apikey
string
header
required

Body

application/json

POST /v1/eval payload.

context.policy_description is optional grounding for evaluators that consult policy text (e.g. the agent judge). samples is the non-empty list of rows to score.

samples
EvalSample · object[]
required
Required array length: 1 - 10000 elements
context
Context · object | null
run_name
string | null
Required string length: 1 - 200
user_metadata
User Metadata · object | null

Response

Successful Response

The accepted eval run. Carries run_id, status_url, records_url, websocket_url (the SSE progress stream) and logs_url (the live log socket - join it onto wss://api.enkryptai.com/wss/redteam/v1/logs/tasks/).