Skip to main content
POST
Request insights for the current window

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

Optional. A bodyless POST is the ordinary case.

force
boolean

Regenerate even when a completed generation already exists. SPENDS A SECOND TIME — that is the whole point of the flag, so it is never inferred.

Response

Scheduled.

scenarioId
string
required
projectId
string
required
windowId
string
required

The window this generation covers. Poll GET .../windows/{windowId}/insights with it.

status
enum<string>
required
Available options:
pending