Run an analytics query
Runs a query against a versioned analytics catalog model and returns a columnar table. Totals queries (no dimensions) return exactly one row. Grouped, dimension-ordered queries may paginate with an opaque cursor.
Authorizations
Organization API key with the analytics:read scope.
Headers
Optional caller-supplied request ID. Values must contain 1–64 ASCII letters, digits, or ._:/=-; invalid values are replaced with a generated UUID.
1 - 64^[A-Za-z0-9._:/=-]+$Body
Catalog model name. The current catalog supports agent_runs and agent_user_activity.
agent_runs, agent_user_activity 1 - 64Unique catalog metric names to select.
1 - 16 elements1 - 64Unique catalog dimensions to group by.
81 - 64Dimension filters: eq with one value, or in with 1–50 values.
8- Option 1
- Option 2
Up to eight unique order terms. Members must be selected metrics or dimensions. Totals queries cannot specify order terms.
8Maximum rows returned per page.
1 <= x <= 500Opaque continuation cursor from a previous grouped response. Not accepted on totals or metric-ordered queries.
1 - 2048Response
Columnar query results.
Unique identifier for this execution.
Catalog version used to produce this response.
Inclusion boundary used for this response and any cursor continuation.
Ordered column descriptors; a selected dimension is followed by its companions, then metrics.
Values in the same order as columns.
Continuation cursor for the next page, or null when there is no next page.
Non-fatal semantic notices.
