Skip to main content
POST
Cancel a journey 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 run was cancelled (or already was).

id
string
required
status
string
required

The run's terminal status after the cancel settled it.

canceled
enum<boolean>
required
Available options:
true
alreadyCanceled
boolean
required

True when the run was already cancelled and this call did nothing.

finalized
integer
required

Attempts this call moved to terminal. Zero on an idempotent replay.