On this page
Response structure
Successful responses use a JSON envelope with a data field. Errors use a structured error object.
Success
{
"data": { },
"meta": { }
}
- Lists —
datais an array; paginated lists addmeta.take,meta.count,meta.has_more,meta.next_after. - Singles —
datais an object. - Query —
datais an array of rows; metric columns use catalogue ids.
Errors
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing or invalid API key"
}
}
Common codes: UNAUTHORIZED, RATE_LIMITED, BAD_REQUEST, NOT_FOUND, UNKNOWN_METRIC, INCOMPATIBLE_GRAIN, INVALID_DSL. See Errors and limits.
Null vs zero
Missing statistical values are null, never coerced to 0. Treat null as “not observed / not applicable” for that grain.
Related: API Reference · Playground