Cancel a run
Request cancellation of an in-flight run; marks the run and its pending/running iterations cancelled. A no-op success when the run is already cancelled; returns 409 when the run already reached a terminal status (completed/failed/timed_out).
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.
Eval run ID, as returned by POST /eval-runs.
Response
The cancelled run.
Poll until terminal: completed, failed, or cancelled.
pending, running, completed, failed, cancelled Run origin. API-created runs are api.
ui, api, sdk Epoch milliseconds.
Pass/fail verdict once terminal.
passed, failed, null Epoch milliseconds, null until terminal.

