Person activity stats
Returns activity counts (emails, meetings, total) across different time periods.
Authorizations
Path Parameters
Query Parameters
Comma-separated list of periods to retrieve stats for. Valid values: '30_days', '90_days', '180_days', '365_days', 'all_time'. If not specified, returns all available periods.
Optional grouping. internal_user returns a per-user breakdown under by_user in addition to the aggregate periods.
"internal_user"Optional. top_user populates top_email_user and top_meeting_user (each user's name + 90-day counts) without requiring group_by=internal_user's full by_user array. Combine with group_by=internal_user to get both.
"top_user"Response
Activity statistics response for an entity.
Contains stats across multiple time periods (e.g., 30_days, 90_days, all_time).
by_user is only populated when group_by=internal_user is passed (the
full per-user breakdown); the top-level periods still carries the
aggregate. top_email_user/top_meeting_user are the by_user entries
with the highest emails/meetings count (90-day window) — populated
whenever group_by=internal_user OR the lighter-weight sort_by=top_user
is passed, without requiring the full by_user array. None when there's
no internal-user activity for that metric.