Skip to main content
GET
Get a scenario

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.

Response

The scenario.

A published scenario, enriched with findings over its latest analyzed window. NO accessVersion: the settings envelope this is read from does not carry it — the publish and rebind responses do.

id
string
required
projectId
string
required
name
string | null
required
description
string | null
required
mode
string | null
required
environmentId
string | null
required
insights
object

Present when the caller may have it. The envelope needs workspace MEMBERSHIP while the scenario itself is visible more widely, so a lower-privilege viewer gets the scenario without this field rather than a 403.