analytics
Organization-level call, SMS, and iMessage analytics.
Get call analytics
Computes call/booking analytics for the given date range (inclusive, in `timezone`, defaulting to the whole history and the caller's own timezone/locale default when omitted). Non-admin/manager/owner callers only ever see their own calls, regardless of other filters; `workspace` further restricts to one workspace. Includes org-wide totals plus breakdowns by agent, lead folder, workspace, call outcome, direction, human-pickup result, warm-lead response time, lead local pickup hour, and phone-intent pickup rate, most of which are computed from the same deduplicated call set so they stay consistent with each other.
Get the analytics leaderboard
Ranks every rep in the organization by the metric(s) configured in the organization's settings (defaults to bookings), over the given date range (inclusive, in `timezone`; omitting both bounds ranks all-time activity). Visible to all members as long as the organization has the leaderboard enabled; returns `enabled: false` and no entries otherwise.