v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

List teams

Returns a list of all the teams in your account

get/teams

Query parameters

pageinteger

Pagination parameter, starts at 0.

per_pageinteger

Amount of items returned

Response

A list of teams in your account

idinteger required

The ID of the team in Aikido.

namestring 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_idstring

The id of the external resource that this team is linked to.

activeboolean required

Indicates if this team is currently active or not

Example response

[
  {
    "id": 1,
    "name": "Frontend developers",
    "external_source": "github",
    "external_source_id": "387505",
    "responsibilities": [
      {
        "type": "code_repository",
        "id": 5,
        "included_paths": [
          "/client",
          "/tests/client"
        ],
        "excluded_paths": null
      },
      {
        "type": "container_repository",
        "id": 8
      }
    ],
    "active": true
  }
]