Query analytics data
Execute an analytics query with specified metrics, dimensions, filters, and time range. Management key required.
Authorizations
API key as bearer token in Authorization header
Body
1Metric name
2Dimension to group by (up to 2). Use the /meta endpoint for available dimensions.
20Time granularity
"day"
Maximum rows per distinct combination of dimensions. When omitted on time-series queries (granularity + dimensions), auto-computed to avoid truncating time windows. Explicit values override the default and may truncate time buckets if set lower than the number of buckets in the range. Ignored when no dimensions are specified.
100
Maximum total rows returned. Defaults to 1000. On time-series queries with dimensions and no explicit group_limit, the server may raise this to accommodate the expected number of unique time-bucket/dimension combinations.
Response
Analytics query results