List Groups
list_groupsList groups (the organizations, teams, workspaces, or other collectives the customer's users belong to, as the customer's app reports them; not clusters Dregs detected) with their type and member identity count, ordered by most recent activity (lastTrackedAt) by default. Optionally filtered by type, by free-text term (matches group id and name), or by a tracked identity id to list the groups that identity belongs to. To list a group's members, call list_identities with its id and type. Returns at most 100 groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort field: lastTrackedAt (default, recency of activity), firstSeenAt, or displayName. Unknown values fall back to lastTrackedAt. | |
| term | No | Free-text search across group id and name. | |
| type | No | Group type to filter by. The customer's own name for the kind of group, such as organization, company, team, or workspace (list_groups shows the types in use). Any spelling works: ParentCompany, parent-company, and parent_company are the same type. All types when omitted. | |
| limit | No | Maximum groups to return (default 25, max 100). | |
| offset | No | Rows to skip before the page, for sweeping the full population (e.g. 0, then 100, then 200). Use a multiple of limit. | |
| identity | No | Tracked identity id; only groups this identity belongs to. | |
| direction | No | Sort direction: desc (default) or asc. |