Skip to main content
DELETE
Cancel a window's generation

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.

scenarioId
string
required

Scenario ID, as returned by publishing an environment or by the project's scenario reads.

Body

application/json

Which generation to cancel. In the body rather than the path because the recovery case this exists for — a window stuck pending — is precisely when you have the id and nothing else works.

windowId
string
required
Minimum string length: 1

Response

Canceled.

scenarioId
string
required
projectId
string
required
windowId
string
required
canceled
enum<boolean>
required
Available options:
true