---
type: api
title: Health check on Privilege Monitoring
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/operation/operation-privmonhealth
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/operation/operation-privmonhealth
products:
  - Kibana
---

# Health check on Privilege Monitoring

deprecated

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

## Paths

- `GET` `/api/entity_analytics/monitoring/privileges/health`
- `GET` `/s/{space_id}/api/entity_analytics/monitoring/privileges/health`

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

## Description

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

**Deprecated in 9.4.0.** Returns the current health status of the Privilege Monitoring Engine, including engine status, error details, and user count statistics.

## Response

Successful response

`application/json`

- `error` (object)
  - `message` (string)
- `status` (enum)
  The status of the Privilege Monitoring Engine
  Values: `started`, `error`, `disabled`, `not_installed`
- `users` (object)
  User statistics for privilege monitoring
  - `current_count` (integer)
    Current number of privileged users being monitored
  - `max_allowed` (integer)
    Maximum number of privileged users allowed to be monitored
## Code Examples

#### Console

```console
GET /api/entity_analytics/monitoring/privileges/health
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/entity_analytics/monitoring/privileges/health"
```

## Response Examples

#### Healthy privilege monitoring engine

```json
{
  "status": "started",
  "users": {
    "current_count": 42,
    "max_allowed": 1000
  }
}
```

