---
title: "Get a team"
method: GET
path: "/api/v2/teams/{slug}/"
tags: ["Teams"]
---

# Get a team

`GET /api/v2/teams/{slug}/`

## Request

- Base URL: `https://app.biel.ai`
- URL: `https://app.biel.ai/api/v2/teams/{slug}/`
- Auth: API key in header `Authorization`

Retrieve the team identified by `slug`. The `slug` must match the team that owns the authenticating API key. Requesting any other team returns 404.

Any valid API key authenticates this call, no specific scope is required.

## Path parameters

- `slug` string, required

## Response `200`

Team retrieved successfully

- Team: A team groups users, projects, and API keys. Each API key is scoped to exactly one team.
  - `id` integer, required: Numeric team id.
  - `name` string, required: Human-readable team name.
  - `slug` string, required: URL slug used to address the team.
  - `members` TeamMember[], required: Active team members.
    - `id` integer, required: Membership id (not the user id).
    - `user_id` integer, required: Underlying user id.
    - `first_name` string, nullable: Member first name.
    - `last_name` string, nullable: Member last name.
    - `display_name` string, required: Display name (full name when available, otherwise email).
    - `role` 'admin' | 'maintainer' | 'editor' | 'viewer', required: Member role in the team.
  - `dashboard_url` string, uri, required: Web URL to the team dashboard.
  - `subscription` TeamSubscription, required: Subscription state of the team.
    - `status` 'active' | 'trialing' | 'none', required: Whether the team has an active paid subscription, is on the free trial, or has neither.
    - `plan` string, nullable, required: Slug of the active plan (for example `professional`), or `null` without a paid subscription.
  - `trial` TeamTrial, required: Free-trial state of the team.
    - `active` boolean, required: Whether the free trial is currently active.
    - `ends_at` string, date-time, nullable, required: ISO-8601 end of the trial window while trialing, otherwise `null`.

## Other responses

- `403`: Forbidden. Missing permissions.
- `404`: Resource not found.

---

[API](https://skmtc.dev/biel/apis/biel-ai-api.md) · [All operations](https://skmtc.dev/biel/apis/biel-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/biel/apis/biel-ai-api/revisions/ac7034d82696?raw)
