Teams
Ask
List teams
GET/v1/teamsLists active teams visible to the token owner by default.
Required scopes: team:read
Parameters
query.includeArchived | booleanSet to true to include archived teams. Defaults to false. |
|---|---|
query.limit | integerMaximum number of records to return. Defaults to 50 and is capped at 200. |
query.cursor | stringOpaque cursor returned by page.nextCursor. Reuse the same credential, endpoint, and filters within 24 hours; restart pagination after expiration or credential changes. |
Response 200
data | object[] |
|---|---|
data[].id | string:uuidTeam identifier. |
data[].name | stringTeam display name. |
data[].role | stringRole held by the token owner on the team. |
data[].status | "active" | "invited" | "departed" | "removed"Membership status for the token owner on this team. |
data[].organizationStatus | "active" | "archived"Team organization lifecycle status. |
data[].version | numberCurrent team aggregate version. |
data[].cursor | numberLatest cursor projected into this team record. |
page | object |
page.limit | integerMaximum number of records returned in this page. |
page.nextCursor | string | nullOpaque cursor to pass as the next request's cursor query parameter with the same credential, endpoint, and filters within 24 hours, or null when there are no more results. Restart pagination after expiration or credential changes. |
meta | object |
meta.cursor | number | nullHighest record cursor represented by this response. |