---
raw: true
search:
  tags:
    - Teams
    - GET
seo:
  description: >-
    Returns every label the team has, ordered by name. Reference for the GET
    /v1/teams/{teamId}/labels endpoint in the Spacefast API.
sidebar:
  label: List a team's labels
  badge: GET
title: List a team's labels
type: openapi-operation
---
Returns every label the team has, ordered by name.

`GET /v1/teams/{teamId}/labels`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": [
    {
      "id": "string",
      "teamId": "string",
      "name": "string",
      "color": "red",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
```
