---
type: api
title: Get latest output 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-get-output-health
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-get-output-health
products:
  - Kibana
---

# Get latest output health

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

## Paths

- `GET` `/api/fleet/outputs/{outputId}/health`
- `GET` `/s/{space_id}/api/fleet/outputs/{outputId}/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.

## Responses

#### `200`

OK

`application/json`

- `message` (string)
  long message if unhealthy
- `state` (string)
  state of output, HEALTHY or DEGRADED
- `timestamp` (string)
  timestamp of reported state
#### `400`

Generic Error

`application/json`

- `error` (string)
- `message` (string)
- `statusCode` (number)
## Code Examples

#### Console

```console
GET /api/fleet/outputs/{outputId}/health
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/fleet/outputs/{outputId}/health"
```

