latestOpenAPI 3.1.02026-08-197104501.1 MB

8fbaab4fc7c5

team management

List Team

curl --location --request GET 'http://0.0.0.0:4000/team/list'         --header 'Authorization: Bearer sk-1234'

Parameters:

  • user_id: str - Optional. If passed will only return teams that the user_id is a member of.
  • organization_id: str - Optional. If passed will only return teams that belong to the organization_id. Pass 'default_organization' to get all teams without organization_id.
get/team/list

Query parameters

user_idstring nullable

Only return teams which this 'user_id' belongs to

Only return teams which this 'user_id' belongs to

organization_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/team/list:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}