v1
latestOpenAPI 3.0.32026-07-248519153.1 KBGet experiment metric snapshots
Retrieve the cumulative experiment results captured by the clickhouse:snapshot_experiment_metrics scheduled job. Each snapshot stores the running value of every metric (users, subscribe, conversion_to_subscribe, etc.) for every variant at the moment of capture together with statistical-significance fields (p_value, effect_size, absolute/relative deltas and confidence intervals).
The response groups rows by period_index -> variants[] -> metrics{} by default so it can be plotted directly. Pass format=flat to receive raw ClickHouse rows instead. Use latest=true to fetch only the most recent snapshot. Filter by metric, variant_index, strict_experiment_filter, and the period_from / period_to window when needed.
Path parameters
Experiment ID
Query parameters
Filter by metric name(s). Accepts either a single value, a comma-separated list (metric=users,subscribe) or repeated metric[]= query parameters. Allowed values match available_metrics in the response.
Return snapshots only for the given variant.
1 returns snapshots that excluded users who saw more than one experiment simultaneously; 0 returns the unfiltered series. When omitted both modes are returned.
Lower bound (inclusive) on snapshot_at.
Upper bound (inclusive) on snapshot_at.
Return only the most recent snapshot for the experiment.
grouped (default) nests results by period_index -> variants[] -> metrics{}. flat returns one row per metric/variant/snapshot as stored in ClickHouse.
Headers
API key for authentication
Response
Experiment snapshots retrieved successfully
Example response
{
"success": 1,
"experiment_id": 42,
"experiment_name": "Onboarding wording v3",
"experiment_slug": "onboarding-wording-v3",
"snapshots": [
{
"period_index": 7,
"variants": [
{
"variant_index": 1,
"variant_name": "Variant B"
}
]
}
]
}