Run eval suite synchronously
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 / total cases).
SHA-256 over the ordered, normalized case set this run executed.
SHA-256 over the evaluator configuration this run scored with.