API reference › Resources
Teams
List the organization's teams, their members and your role in each one.
GET/api/teams#
Lists every team in the organization.
curl https://doublex.ai/api/teams -H "Authorization: Bearer $DOUBLEX_API_KEY"JSON
{
"teams": [
{
"id": "team_9c8b7a6d5e4f",
"name": "Sales",
"emoji": "💼",
"color": "azul",
"isDefault": false,
"myRole": "admin",
"members": [
{ "userId": "usr_1a2b3c4d5e6f", "name": "Ana Souza", "email": "[email protected]", "role": "admin", "joinedAt": "2026-10-20T13:10:00.000Z" }
],
"resources": { "agents": 4, "skills": 2, "knowledge": 11 },
"createdAt": "2026-10-20T13:05:00.000Z"
}
]
}| Field | Description |
|---|---|
myRole | Your role in the team: admin, member, or null if you're not in it. |
resources | How many agents, skills and Brain documents are in the team's scope. |
Use the team's id as teamId when you create items with scope: "team". Creating teams, changing members and inviting people is done in the app, in Settings › Teams.