---
type: api
title: Get the alerting framework health
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-legacygetalertinghealth
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-legacygetalertinghealth
products:
  - Kibana
---

# Get the alerting framework health

deprecated

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

## Paths

- `GET` `/api/alerts/alerts/_health`
- `GET` `/s/{space_id}/api/alerts/alerts/_health`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#basicauth)

## Description

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

Deprecated in 7.13.0. Use the get alerting framework health API instead.

## Responses

#### `200`

Indicates a successful call.

`application/json`

- `alertingFrameworkHealth` (object)
  Three substates identify the health of the alerting framework: `decryptionHealth`, `executionHealth`, and `readHealth`.
  - `decryptionHealth` (object)
    The timestamp and status of the alert decryption.
    - `status` (enum)
      Values: `error`, `ok`, `warn`
    - `timestamp` (string)
  - `executionHealth` (object)
    The timestamp and status of the alert execution.
    - `status` (enum)
      Values: `error`, `ok`, `warn`
    - `timestamp` (string)
  - `readHealth` (object)
    The timestamp and status of the alert reading events.
    - `status` (enum)
      Values: `error`, `ok`, `warn`
    - `timestamp` (string)
- `hasPermanentEncryptionKey` (boolean)
  If `false`, the encrypted saved object plugin does not have a permanent encryption key.
- `isSufficientlySecure` (boolean)
  If `false`, security is enabled but TLS is not.
#### `401`

Authorization information is missing or invalid.

`application/json`

- `error` (enum)
  Values: `Unauthorized`
- `message` (string)
- `statusCode` (enum)
  Values: `401`
## Code Examples

#### Console

```console
GET /api/alerts/alerts/_health
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/alerts/alerts/_health"
```

