79928a3d37d3
List Team V2
Get a paginated list of teams with filtering and sorting options.
Parameters: user_id: Optional[str] Only return teams which this user belongs to organization_id: Optional[str] Only return teams which belong to this organization team_id: Optional[str] Filter teams by exact team_id match team_alias: Optional[str] Filter teams by partial team_alias match page: int The page number to return page_size: int The number of items per page sort_by: Optional[str] Column to sort by (e.g. 'team_id', 'team_alias', 'created_at') sort_order: str Sort order ('asc' or 'desc') status: Optional[str] Filter by status. Currently supports "deleted" to query deleted teams.
Query parameters
Only return teams which this 'user_id' belongs to
Only return teams which this 'user_id' belongs to
Only return teams which this 'organization_id' belongs to
Only return teams which this 'organization_id' belongs to
Only return teams which this 'team_id' belongs to
Only return teams which this 'team_id' belongs to
Only return teams which this 'team_alias' belongs to. Supports partial matching.
Only return teams which this 'team_alias' belongs to. Supports partial matching.
Page number for pagination
Page number for pagination
Number of teams per page
Number of teams per page
Column to sort by (e.g. 'team_id', 'team_alias', 'created_at')
Column to sort by (e.g. 'team_id', 'team_alias', 'created_at')
Sort order ('asc' or 'desc')
Sort order ('asc' or 'desc')
Filter by status (e.g. 'deleted')
Filter by status (e.g. 'deleted')
Response
Successful Response