Get usage analytics
Aggregate conversation usage for the specified account. Supports configurable time ranges, bucket granularity, and optional groupings by agent, subaccount, or conversation type.
Authorizations
Path Parameters
Query Parameters
Start timestamp (ISO-8601). Defaults to 30 days before end.
End timestamp (ISO-8601). Defaults to now.
Bucket granularity for aggregation.
hour, day, month Dimensions to break results by (comma separated or repeated query params).
Dimensions for grouping usage analytics.
Attributes: AGENT: Group by individual agent. SUBACCOUNT: Group by subaccount (child team). TYPE: Group by conversation type.
agent, subaccount, type IANA timezone name used for bucket boundaries (default UTC).
Maximum number of time buckets to return (default 500).
1 <= x <= 500Response
OK
Complete usage analytics response payload.
Attributes: meta: Metadata about the query and response. data: List of time buckets with aggregated usage values.
Metadata describing the usage analytics response.
Attributes: account_id: UUID of the account for this usage data. start: Start datetime of the query range. end: End datetime of the query range. granularity: Time bucket granularity used. group_by: Grouping dimensions requested. tz: Timezone applied to bucket boundaries.