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

# Get Teams

`GET /v1/teams`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/teams`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Get all the teams for the organization.

## Response `200`

The list of teams in the organization.

- ReadTeam[]
  - `id` string, required
  - `leaderRoleId` string, required
  - `memberRoleId` string, required
  - `name` string, required
  - `userCount` integer

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
