---
title: "List teams accessible to the API key"
method: GET
path: "/api/v2/teams/"
tags: ["Teams"]
---

# List teams accessible to the API key

`GET /api/v2/teams/`

## Request

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

Return the team this API key belongs to. Because every API key is scoped to a single team, the returned array always contains exactly one entry.

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

## Response `200`

Teams listed successfully

- 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.

---

[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)
