Cancel Suite Run
Cancel a suite run: every child run still pending or running is
cancelled, which makes the suite’s derived status cancelled.
Child runs that already produced a verdict or errored are left
untouched. Idempotent on a terminal suite - returns it unchanged.
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
Headers
Response
Prefixed wire identifier (srun_<26 char Crockford base32>).
Which entry point created a suite run.
run_all- POST /v1/agents/{agent_id}/tests/runs.batch- POST /v1/agents/tests/runs/batch.resubmit- POST /v1/agents/tests/suite-runs/{suite_run_id}/resubmit.
The one lifecycle vocabulary shared by every async job (batch
calls, knowledge-base imports, agent-test runs, suite runs):
pending → running → a terminal state.
pending- accepted but not yet executing (queued for a worker, or deferred to a future scheduled time).running- actively executing.completed- ran to conclusion. The single terminal-success verb. For a job that produces a pass/fail judgment (an agent-test run), this means it produced a verdict - read the separateverdictfield for the judgment, not this status.failed- could not complete (an infrastructure or input failure), distinct from acompletedjob whoseverdictisfailed.cancelled- cancelled before reaching a natural terminal state.
Child runs that could not execute (an infrastructure failure).
Per-verdict breakdown among the completed child runs.
Prefixed agent_<crockford> id of the agent whose suite
was run. Set for the run_all trigger; null for batch,
which can span many agents.
Display name of agent_id’s agent, resolved at read time.
Null whenever agent_id is null, and on the suite run
embedded in run/resubmit creation responses.
Set on a resubmit: the prefixed srun_<crockford> id of
the suite run whose failed/errored tests this one re-ran.
Null for run_all and batch.
The suite’s pass/fail judgment, present only when status is
completed.
Newest child-run completion; null until every child run is terminal.
The run-level config override this suite was run with, or null for an ordinary Run All / batch.
The flow version (agent_versions row) this suite targeted,
or null for the agent’s active / synthesized flow.
Human-facing version number of flow_version_id; null when no version was targeted.