---
title: "Get the details of all teams within an organization."
method: GET
path: "/orgs/{org}/teams/"
tags: ["orgs"]
---

# Get the details of all teams within an organization.

`GET /orgs/{org}/teams/`

Get the details of all teams within an organization.

## Query parameters

- `page` integer
- `page_size` integer
- `for_user` boolean
- `query` string
- `sort` string

## Response `200`

Retrieved the list of teams within the org

- OrganizationTeam[]
  - `description` string, nullable — A detailed description of the team.
  - `name` string, required — A descriptive name for the team.
  - `slug` string, slug
  - `slug_perm` string, slug
  - `visibility` 'Visible' | 'Hidden'

## Other responses

- `400` — Request could not be processed (see detail).
- `404` — Org namespace not found
- `422` — Missing or invalid parameters (see detail).

---

[API](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1.md) · [All operations](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudsmith/cloudsmith-api-v1/revisions/4d7879df9b2f/schema)
