Create an eval run (async)
Creates a suite run from an existing suiteId (rerun) and/or inline tests, then detaches execution and responds 202 immediately with the runId. Validation and quota errors surface on this request; poll GET /eval-runs/{runId} for progress. The run appears live in the hosted UI Runs tab, tagged source: "api".
A bare suiteId with no inline tests reruns the suite as configured. Per-organization concurrency is capped (default 2 concurrent runs); exceeding it returns 429 with details.reason: "CONCURRENT_RUN_LIMIT".
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Path Parameters
ID of the hosted project that contains the server.
Body
- Option 1
- Option 2
Two valid shapes: suiteId (rerun an existing suite, optionally upserting inline tests into it), or suiteName + tests + serverIds (create a new suite and run it). Inline tests alone — without a suiteId or a suiteName — are rejected with VALIDATION_ERROR.
Existing suite to rerun. A bare suiteId with no tests reruns the suite exactly as configured.
Name for a new suite. Required (non-empty) when no suiteId is given.
Inline test cases to upsert into the suite before running.
100Servers (by ID) the run connects to. Required when creating a new suite; optional on reruns — when omitted, the run connects the suite's saved server selection (the set its snapshot references). A rerun of a suite with no saved selection is rejected with VALIDATION_ERROR (details.reason: "NO_SAVED_SERVER_SELECTION").
1Optional per-provider model API keys (e.g. { "anthropic": "sk-ant-…" }). Falls back to your organization's configured providers when omitted.
Override the per-case runs count for this run only.
1 <= x <= 10Response
Run created; execution continues in the background.
"running"Per-case upsert outcomes for inline tests. Partial failures don't abort the run.
The servers the run connects to — explicit or derived from the suite's saved selection. name is present when known (always, on the derived path).

