Skip to main content
POST
Cancel a run

Authorizations

Authorization
string
header
required

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

projectId
string
required

ID of the hosted project that contains the server.

runId
string
required

Eval run ID, as returned by POST /eval-runs.

Response

The cancelled run.

id
string
required
suiteId
string
required
status
enum<string>
required

Poll until terminal: completed, failed, or cancelled.

Available options:
pending,
running,
completed,
failed,
cancelled
source
enum<string>
required

Run origin. API-created runs are api.

Available options:
ui,
api,
sdk
createdAt
number
required

Epoch milliseconds.

runNumber
integer | null
result
enum<string> | null

Pass/fail verdict once terminal.

Available options:
passed,
failed,
null
summary
object | null
notes
string | null
completedAt
number | null

Epoch milliseconds, null until terminal.

scoreIntegrity
enum<string> | null

Whether the run's score evidence verified at ingest. TRI-STATE, and the third state matters: valid means the backend checked and definitions and results agree; invalid means they do not; null (or absent) means NO VERDICT was produced, on a deployment that predates integrity checking. A score gate must treat null exactly like invalid — absent evidence is not valid evidence.

Available options:
valid,
invalid,
null
environment
object · null · null

The environment revision this run is pinned to. null on a legacy run that recorded none — always present, so a caller never has to distinguish absent from unpinned.

runGroupId
string

Shared by every per-target run from the same fan-out launch. Absent on a single-target launch and on rows created before run groups.

effectiveModelId
string

Model the run actually executed with. Absent on pre-attribution rows.

modelSource
enum<string>

client_default inherited the host model; override used the environment's modelId.

Available options:
client_default,
override
executionEngine
string

Which engine executed the run: emulated (the platform's own turn loop) or harness:<id> (a real agent runtime such as Claude Code). ABSENT means the run recorded no engine — a run created before the platform attributed one. Treat that as UNKNOWN, never as emulated: those are different claims, and the runs whose engine was never recorded are exactly the ones a reader must not vouch for.

insights
object

The common actionable-insights envelope. Present on the DETAIL response only — lists stay compact — and absent when the caller may not have it or the deployment cannot produce one. Treat absence exactly like status: "not_available".

judges
object

Advisory LLM graders on this run. Present on the DETAIL response only — lists stay compact — and absent on deployments that predate the envelope.