GET
/
api
/
team
import os
from brainbase_labs import BrainbaseLabs

client = BrainbaseLabs(
    api_key=os.environ.get("BRAINBASE_LABS_API_KEY"),  # This is the default and can be omitted
)
team = client.team.retrieve()
print(team.id)
{
  "id": "<string>",
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "teamOwnerId": "<string>"
}

Authorizations

x-api-key
string
header
required

API key authentication

Query Parameters

includeIntegrations
boolean

Set to true to also include integrations in the response.

Response

200
application/json
Team details
id
string
required
name
string
required
createdAt
string
required
updatedAt
string
required
teamOwnerId
string | null