Get Analytics
Aggregated analytics for the authenticated user’s company over a time period: totals, line-chart series, monitoring breakdowns, and a quality-score split. Pass period=custom together with start_date and end_date for a bespoke window.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
IANA timezone name (e.g. Australia/Perth). Defaults to UTC.
Query Parameters
Agent UUID, or all for every agent in scope.
ISO date (YYYY-MM-DD). Required when period=custom.
Predefined time window. Use custom together with start_date/end_date.
custom, daily, monthly, weekly, yearly ISO date (YYYY-MM-DD). Required when period=custom.
Filter by agent type. all may auto-resolve to chat or voice if only one type produced threads in the window.
all, chat, voice Response
Aggregated analytics payload.
all- allchat- chatvoice- voice
all, chat, voice Top-line totals for the period (conversations, cost, profit, etc.) and percentage deltas vs the previous period.
Time-series buckets keyed by hour/day/month depending on period.
Sub-totals broken out by status, agent, etc.
Quality-score split: excellent, good, poor with count and percentage.

