Authorizations
API key authentication
Query Parameters
Set to true to also include integrations in the response.
import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
  apiKey: 'My API Key',
});
const team = await client.team.retrieve();
console.log(team.id);{
  "id": "<string>",
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "teamOwnerId": "<string>"
}import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
  apiKey: 'My API Key',
});
const team = await client.team.retrieve();
console.log(team.id);{
  "id": "<string>",
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "teamOwnerId": "<string>"
}API key authentication
Set to true to also include integrations in the response.