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

# Get settings

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

## Paths

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

## Description

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

Get the global Fleet settings.

## Required authorization

- Privileges: `fleet-settings-read`

## 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>`

## Responses

#### `200`

Successful response

`application/json`

- `item` (object)
  - `action_secret_storage_requirements_met` (boolean)
  - `delete_unenrolled_agents` (object)
    - `enabled` (boolean)
    - `is_preconfigured` (boolean)
  - `download_source_auth_secret_storage_requirements_met` (boolean)
  - `has_seen_add_data_notice` (boolean)
  - `id` (string)
  - `ilm_migration_status` (object)
    - `logs` (enum) — nullable
      Values: `success`, `null`
    - `metrics` (enum) — nullable
      Values: `success`, `null`
    - `synthetics` (enum) — nullable
      Values: `success`, `null`
  - `integration_knowledge_enabled` (boolean)
  - `otlp_output_requirements_met` (boolean)
  - `output_secret_storage_requirements_met` (boolean)
  - `preconfigured_fields` (enum[] · max items: 1)
    Values: `fleet_server_hosts`
  - `prerelease_integrations_enabled` (boolean)
  - `secret_storage_requirements_met` (boolean)
  - `ssl_secret_storage_requirements_met` (boolean)
  - `use_space_awareness_migration_started_at` (string) — nullable
  - `use_space_awareness_migration_status` (enum)
    Values: `pending`, `success`, `error`
  - `version` (string)
#### `400`

Bad Request

`application/json`

- `attributes` (object)
- `error` (string)
- `errorType` (string)
- `message` (string)
- `statusCode` (number)
#### `404`

Not Found

`application/json`

- `message` (string)
## Code examples

#### Console

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

#### curl

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

## Response examples

#### Get settings

The current Fleet settings

```json
{
  "item": {
    "delete_unenrolled_agents": {
      "enabled": false,
      "is_preconfigured": false
    },
    "has_seen_add_data_notice": true,
    "id": "fleet-default-settings",
    "otlp_output_requirements_met": true,
    "output_secret_storage_requirements_met": true,
    "prerelease_integrations_enabled": false,
    "secret_storage_requirements_met": true,
    "version": "WzEsMV0="
  }
}
```

#### Generic error response

Example of a generic error response

```json
{
  "error": "Bad Request",
  "message": "An error message describing what went wrong",
  "statusCode": 400
}
```

#### Not found

Fleet settings have not been initialized

```json
{
  "error": "Not Found",
  "message": "Settings not found",
  "statusCode": 404
}
```

