Skip to main content
GET
Session metrics

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.

Query Parameters

population
enum<string>

Restrict to real visitors or synthetic (swarm-driven) sessions. Omit for both. Any other value is a 400.

Available options:
real,
synthetic

Response

The metrics.

Session metrics for the scenario: volumes, completion and feedback rates, cohort splits.

Deliberately UNPINNED. The upstream projection grows with the product and the SDK types it as an open record for the same reason — pinning a field list here would turn every added metric into a spec violation. Read what you recognize and ignore the rest.