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

# List teams

`GET /teams`

Retrieves a list of teams.

## Query parameters

- `filter[organization_id]` StringFilter
  - `eq` string — Equal
  - `ne` string — Not equal
  - `in` string — In (comma-separated list)
  - `nin` string — Not in (comma-separated list)
  - `between` string — Between (comma-separated list)
  - `contains` string — Contains
  - `starts` string — Starts with
  - `ends` string — Ends with
- `filter[id]` StringFilter
  - `eq` string — Equal
  - `ne` string — Not equal
  - `in` string — In (comma-separated list)
  - `nin` string — Not in (comma-separated list)
  - `between` string — Between (comma-separated list)
  - `contains` string — Contains
  - `starts` string — Starts with
  - `ends` string — Ends with
- `filter[updated_at]` DateTimeFilter
  - `eq` string — Equal
  - `ne` string — Not equal
  - `between` string — Between (comma-separated list)
  - `gt` string — Greater than
  - `gte` string — Greater than or equal
  - `lt` string — Less than
  - `lte` string — Less than or equal
- `page[size]` integer
- `page[before]` string
- `page[after]` string
- `sort` 'label' | '-label' | 'created_at' | '-created_at' | 'updated_at' | '-updated_at'

## Response `200`

OK

- object
  - `items` Team[]
    - `id` string, ulid — The ID of the team.
    - `organization_id` string, ulid — The ID of the parent organization.
    - `label` string — The human-readable label of the team.
    - `project_permissions` string[] — Project permissions that are granted to the team.
    - `counts` object
      - `member_count` integer — Total count of members of the team.
      - `project_count` integer — Total count of projects that the team has access to.
    - `created_at` string, date-time — The date and time when the team was created.
    - `updated_at` string, date-time — The date and time when the team was last updated.
  - `count` integer — Total count of all the teams.
  - `_links` ListLinks
    - `self` Link — A hypermedia link to the {current, next, previous} set of items.
      - `href` string — URL of the link
    - `previous` Link — A hypermedia link to the {current, next, previous} set of items.
      - `href` string — URL of the link
    - `next` Link — A hypermedia link to the {current, next, previous} set of items.
      - `href` string — URL of the link

## Other responses

- `403` — Forbidden

---

[API](https://skmtc.net/upsun/apis/upsun-com-rest-api.md) · [All operations](https://skmtc.net/upsun/apis/upsun-com-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/upsun/upsun-com-rest-api/revisions/6cc88fde6435/schema)
