---
type: api
title: Get space settings
description: Get the Fleet settings for the current Kibana space.
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v0/operation/operation-get-fleet-space-settings
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v0/operation/operation-get-fleet-space-settings
products:
  - Kibana
---

# Get space settings

Availability: Generally available since 9.1

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

## Paths

- `GET` `/api/fleet/space_settings`

## Description

Get the Fleet settings for the current Kibana space.

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## 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"
    ]
  }
}
```

