v1
latestOpenAPI 3.0.02026-08-04891301.4 MBList teams
Returns a paginated list of teams visible to the authenticated user, ordered by creation time descending. Use membership to narrow results to teams the caller has joined or teams they are eligible to join based on their ACL visibility.
Supports full-text search across team name and description via search, and structured metadata filtering via metadata. When app is present, results are scoped to that app and the caller must hold the corresponding app scope.
Query parameters
Filter teams by membership status. "joined" returns only teams the caller is a member of. "joinable" returns ACL-visible teams the caller has not yet joined. Omit to return all visible teams.
Full-text search string matched against team name and description.
Number of teams to return per page. Defaults to 25.
Page number to retrieve, starting at 1. Defaults to 1.
Structured metadata filter expression. Only teams whose metadata satisfies the expression are returned.
Response
Successful response
Example response
{
"data": [
{
"acl": {
"add": [
{
"actions": [
"read",
"write"
],
"principal": "string",
"principal_type": "user"
}
],
"grants": [
{
"actions": [
"read",
"write"
],
"principal": "string",
"principal_type": "user"
}
],
"remove": [
{
"principal": "string",
"principal_type": "user"
}
]
},
"app": "dap_0aBcDeFgHiJkLmNoPqRsTu",
"badges": {},
"created_at": "2024-01-01T00:00:00Z",
"description": "An example description.",
"id": "tem_0aBcDeFgHiJkLmNoPqRsTu",
"membership_status": "member",
"metadata": {
"key": "value"
},
"name": "Example Name",
"org": "org_0aBcDeFgHiJkLmNoPqRsTu",
"sandbox": "dsb_0aBcDeFgHiJkLmNoPqRsTu",
"slug": "example-slug",
"updated_at": "2024-01-01T00:00:00Z"
}
],
"has_next": true,
"has_prev": true,
"page": 1,
"page_size": 1,
"total_entries": 1,
"total_pages": 1
}