List

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.
GET/team/list
Authorization
Query parameters
Response

Successful Response

Body
any
Request
const response = await fetch('/team/list', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}