---
title: "List teams"
method: GET
path: "/teams"
tags: ["Teams"]
---

# List teams

`GET /teams`

## Request

- Base URL: `https://www.glitter.io/api/v1`
- URL: `https://www.glitter.io/api/v1/teams`
- Auth: HTTP bearer

The teams the key reaches: its own team, or every team of its organization, including teams that join later.

## Response `200`

Successful response

- TeamsResponse
  - `data` object[], required
    - `id` string, required
    - `name` string, nullable, required
    - `role` 'EDITOR' | 'VIEWER' | 'ADMIN', nullable, required: the caller's role; a person has one, a key has none

## Other responses

- `400`: Invalid request
- `401`: Invalid or expired key
- `403`: Scope missing or API turned off
- `429`: Rate limited
- `500`: Internal error

---

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