Group top users
List a group's most active identified users over a window. Covers all projects in your organization unless project_id is given; requires owner/admin. Pass a group_type and a group_key from top_groups. The built-in company type is not supported here (use company_top_users). Returns resolved_identifier, events, and last_seen per user.
Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.
In: header
Query Parameters
The group type key, e.g. "workspace" or "team". Not "company".
^[a-z][a-z0-9_]{0,63}$The group key within the type. Use top_groups to discover keys.
1 <= length <= 512Limit results to one project (a project_id from list_projects). Omit to include every project in your organization.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidLook-back window in days (1-365). Defaults to 30.
1 <= value <= 365Maximum users to return (1-100). Defaults to 20.
1 <= value <= 100Response Body
curl -X GET "https://example.com/groups/top-users?group_type=string&group_key=string"