Run eval suite synchronously
Run every case of an eval suite against its target flow/agent and grade the outputs with the suite graders, returning the suite score + per-case gate outcomes in one response. Powers the runtype eval CI gate. Saved-suite runs persist by default: the run gets a durable id (runId) and per-case scores queryable via GET /eval/runs/{runId}/scores; pass virtual: true to skip persistence. Inline definition runs are always ephemeral. Bounded — suites over the case limit must use the batch path (/eval/submit). Flow and standard-agent targets are supported (in both saved and inline/virtual modes); external and claude_managed agent targets are not.
Authentication
Request
Version selector for an Agent target. Supply at most one of alias or versionId; the run resolves it once and every case executes that version.
Run every case against this model instead of the target’s configured one, without editing the suite, the flow, or the agent. Re-run the same suite once per candidate model and compare the scores to choose a model on graded evidence. Applies to flow and agent targets alike.
Strict mode (the runtype eval --strict gate): a soft grader miss fails its case like a gate miss. Default false — soft misses are reported per-outcome but do not fail the suite.
Skip persistence for a saved-suite run: no run row, no persisted scores. Saved-suite runs persist by default; inline definition runs are always ephemeral regardless of this flag.
Response
Suite score + per-case grader outcomes
The persisted run id — query its scores via GET /eval/runs/{runId}/scores. Null for an ephemeral (virtual/inline) run.
Suite score, 0..1 (passed cases / graded cases). Platform-aborted cases are excluded from both halves.
SHA-256 over the ordered, normalized case set this run executed.
SHA-256 over the evaluator configuration this run scored with.