---
title: "Get Space Labels"
method: GET
path: "/wiki/rest/api/space/{spaceKey}/label"
tags: ["Experimental"]
---

# Get Space Labels

`GET /wiki/rest/api/space/{spaceKey}/label`

Returns a list of labels associated with a space. Can provide a prefix as well as other filters to
select different types of labels.

## Path parameters

- `spaceKey` string, required

## Query parameters

- `prefix` 'global' | 'my' | 'team'
- `start` integer
- `limit` integer

## Response `200`

Returned if the list of labels is returned.

- LabelArray
  - `results` Label[], required
    - `prefix` string, required
    - `name` string, required
    - `id` string, required
    - `label` string, required
  - `start` integer
  - `limit` integer
  - `size` integer, required
  - `_links` GenericLinks

## Other responses

- `404` — Returned if; - There is no space with the given space key. - The calling user does not have permission to view the space.

---

[API](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-confluence-cloud-rest-api/revisions/70088490f406/schema)
