---
title: "List teams"
method: GET
path: "/teams"
---

# List teams

`GET /teams`

Returns a list of all the teams in your account

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

A list of teams in your account

- object[]
  - `id` integer, required — The ID of the team in Aikido.
  - `name` string, required — The name of the team.
  - `external_source` 'github' | 'gitlab' | 'bitbucket' — Indicates if this team is linked to an external resource. If this field is set, it means that this team is linked from an external resource and it is not editable inside of Aikido's UI.
  - `external_source_id` string — The id of the external resource that this team is linked to.
  - `responsibilities` object[], required — A list of resources (code repos, ...), of which this team is responsible for.
    - `id` integer, required — The ID of the resource.
    - `type` 'code_repository' | 'container_repository' | 'cloud' | 'domain', required — Indicates the type of the resource.
    - `included_paths` string[] — A list of paths in the code repo of which this team is responsible for. When not specified this value is null
    - `excluded_paths` string[] — A list of paths in the code repo of which this team is not responsible for. When not specified this value is null
  - `active` boolean, required — Indicates if this team is currently active or not

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/versions/5445e7c21137/schema)
