---
title: "Get all spaces"
method: GET
path: "/api/spaces/space"
tags: ["spaces"]
---

# Get all spaces

`GET /api/spaces/space`

Retrieve all available Kibana spaces. The list includes only the spaces that the user is authorized to access.

## Query parameters

- `purpose` 'any' | 'copySavedObjectsIntoSpace' | 'shareSavedObjectsIntoSpace'
- `include_authorized_purposes` boolean

## Response `200`

Indicates a successful call.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
