Get detailed stats for an AB test variant

Per-dimension conversion + revenue stats for the variants of one AB test. Without ab_test_variant_id (MCP only), returns every variant in one call under variants, in position order: prefer this to compare variants. With it, returns one variant.

Required scope: experimentation.ab_tests:view

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Public ID of the resource.

string
required

Public ID of the resource.

string
required

Public ID of the resource.

Query Params
string
enum
required

Group the variant's conversions and revenue by this dimension: country = store country (ISO code); plan = subscription plan; platform = store platform. Required: there is no ungrouped result. For a variant total, add the counts and revenue of one dimension's groups; unique_viewers_count is the variant's total repeated in every group (read it once) and the per-user averages are ratios, not sums.

Allowed:
fields[]
array of strings

Field selection for token economy: an explicit list of field names to include in the response, or ["*"] for every field. Omit for this endpoint's own default field set.

fields[]
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json