Gatana logoGatana Docs
RoutesTeams

/teams

List the teams the caller can read, optionally only those a given user is a member of

GET
/teams
AuthorizationBearer <token>

In: header

Query Parameters

userId?string

Only return teams this user is a member of

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/teams"
{
  "teams": [
    {
      "id": "string",
      "tenantId": "string",
      "name": "string",
      "description": "string",
      "isScimManaged": true,
      "scimExternalId": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "memberCount": 0,
      "hasProfileAttached": true
    }
  ]
}