latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-16142191531.5 KB

f338eb09898f

User testing

Session metrics

Volumes, completion and feedback rates over the scenario's sessions.

404 when the scenario has produced no sessions yet — an empty scenario has no metrics, which is different from metrics that are all zero.

get/projects/{projectId}/user-testing/scenarios/{scenarioId}/metrics

Query parameters

population'real' | 'synthetic'

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

Response

The metrics.

ScenarioMetrics required

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.