Get experiment metric snapshots
Changed onRetrieve 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). pltv_92d, pltv_184d and pltv_367d are the predicted revenue per visitor at 3 / 6 / 12 months (USD, revenue so far plus the LTV prediction).
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.
Request
- Base URLhttps://api.web2wave.com/api
- URLhttps://api.web2wave.com/api/experiments/{id}/snapshots
- AuthAPI key in header api_key
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"
}
]
}
]
}Changes
- info
added the enum value
pltv_184dto the propertyoneOf[subschema #1]/of thequeryrequest parametermetric - info
added the enum value
pltv_367dto the propertyoneOf[subschema #1]/of thequeryrequest parametermetric - info
added the enum value
pltv_92dto the propertyoneOf[subschema #1]/of thequeryrequest parametermetric
- info