---
type: api
title: Get space settings
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana-serverless/operation/operation-get-fleet-space-settings
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana-serverless/operation/operation-get-fleet-space-settings
products:
  - Kibana
---

# Get space settings

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/fleet/space_settings`
- `GET` `/s/{space_id}/api/fleet/space_settings`

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get the Fleet settings for the current Kibana space.

## Authentication

- Api key: `Authorization: <value>`
  You must create an API key and use the encoded value in the request header. To learn about creating keys, go to [API keys](https://www.elastic.co/docs/current/serverless/api-keys).

## Response

Successful response

`application/json`

- `item` (object)
  - `allowed_namespace_prefixes` (string[] · max items: 100)
  - `managed_by` (string)
## Code examples

#### Console

```console
GET kbn:/api/fleet/space_settings
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/fleet/space_settings" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### Get space settings

The Fleet settings for the current Kibana space

```json
{
  "item": {
    "allowed_namespace_prefixes": [
      "team-a",
      "team-b"
    ]
  }
}
```

