---
title: "Get Team"
method: GET
path: "/teams/{team_id}"
tags: ["teams"]
---

# Get Team

`GET /teams/{team_id}`

Get a member-visible team.

Args:
    team_id: Team identifier.
    auth: Authenticated caller.
    service: Team service.

Returns:
    Team response.

## Path parameters

- `team_id` string, required

## Response `200`

Successful Response

- TeamResponse — Response model for a single team.
  - `id` string, required
  - `name` string, required
  - `owner_id` string, required
  - `zero_data_retention` boolean
  - `created_at` string, required
  - `updated_at` string, required
  - `member_count` integer, nullable
  - `current_user_role` 'owner' | 'billing' | 'admin' | 'editor' | 'viewer' — Team member roles with hierarchical permissions. Wire DTO mirror of the ORM ``TeamRoleType`` enum. Used only for API request/response serialization; authorization decisions route through the ORM matrix (``database_tables.permissions``), never this enum.
  - `capabilities` object, nullable
  - `max_seats` integer, nullable — Cap on members plus pending invitations. Null means unlimited; a new team opens at the column's fail-closed default of 150 seats.
  - `max_api_keys` integer, nullable — Cap on active user-facing API keys, excluding internal run keys. Null means no team-specific cap, so the platform default applies; 0 forbids API keys.

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-24** `1cffaad2a921` — 1 breaking, 2 warning, 3 info
  - removed the required property `payment_plan` from the response with the `200` status
  - removed the optional property `detail` from the response with the `422` status
  - removed the optional property `router_enabled` from the response with the `200` status
  - added the optional property `max_api_keys` to the response with the `200` status
  - …2 more
- **2026-08-05** `31dfe831e079` — 1 info
  - added the optional property `zero_data_retention` to the response with the `200` status

[Change history](https://skmtc.dev/pioneer/apis/brain-api/changes/teams/:team_id/get.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) · [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/1cffaad2a921?raw)
