v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-304917042.1 MB
evals
evals

(dev only) Fabricate failing eval runs and fire the real eval.failed emitter

Fabricate failing eval runs for an agent and run the REAL ENG-604 emitter.

Exercises the full classification/escalation/digest/dedupe-key path that plain test-send bypasses: builds the eval.failed payload exactly as the eval orchestrator would, then enqueues dispatch (the notify Celery task) — so a background worker is required for the message to actually deliver.

post/v1/evals/synthesize-failure

Request body

agent_idstring uuid required
n_failuresinteger
failure_kind'quality' | 'error'
scorenumber
thresholdnumber

Response

Successful Response

session_idstring uuid required
eval_run_idsstring[] required
payloadobject required
severitystring nullable required
sustained_countinteger required
dispatchedboolean required
task_idstring nullable required