Read a test's results
get_statsFetches a test's results and works out what they mean.
Alongside the raw counts it returns the probability that each combination is genuinely best and the expected cost of stopping now and keeping the leader. Use those rather than comparing conversion rates by eye: a variant ahead 2/10 to 1/10 looks twice as good and is very close to a coin flip, and that mistake is the single most common way an A/B test gets called wrong.
Multi-slot tests also report per-slot marginals: how each variant did across every combination it appeared in.
Needs the stats secret. If you have the manage URL, its #fragment IS the secret and it will be used automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | The test: an encoded config, or any LiveVariant URL containing one (serve, click, pixel, manage), or a query-parameter serve URL. Paste whatever you have. | |
| config | No | Alias for `test`: the same value under the name build_test returns it as (`config`). Pass one or the other. | |
| statsSecret | No | Omit when passing a manage URL that carries it in the fragment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slots | Yes | ||
| testId | Yes | ||
| bySignal | Yes | ||
| decision | Yes | ||
| excluded | Yes | ||
| combinations | Yes | ||
| contextBuckets | Yes | ||
| totalAssignments | Yes |