---
title: "Get the health status of the server"
method: GET
path: "/health"
tags: ["health"]
---

# Get the health status of the server

`GET /health`

Get the current health status of the server (Leader or Worker Node). In Distributed deployments, requests routed to a Worker or Edge node using the [host context](https://docs.cribl.io/cribl-as-code/api#base-url-group-fleet-host) require a Bearer token for [authentication](https://docs.cribl.io/cribl-as-code/api-auth/).

## Response `200`

Healthy status

- HealthServerStatus — Health status of the Leader or Worker Node.
  - `isCaptain` boolean — Whether this node is currently the captain (job scheduling coordinator) in a Collectors HA deployment.
  - `overlay` union, required
    - ActiveHealthOverlayStatus
      - `state` 'active', required — Current overlay state.
    - NoActiveHealthOverlayStatus
      - `state` 'inactive', required — Current overlay state.
  - `role` 'primary' | 'standby' — Leader Node role: <code>primary</code> or <code>standby</code>.
  - `startTime` integer, required — Timestamp (in Unix time) when the Cribl process started.
  - `status` 'healthy' | 'shutting down' | 'standby', required — Health state: <code>healthy</code>, <code>standby</code>, or <code>shutting down</code>.

## Other responses

- `420` — Server is shutting down or in standby mode
- `500` — Unexpected server error.

---

[API](https://skmtc.dev/criblio/apis/cribl-api-reference.md) · [All operations](https://skmtc.dev/criblio/apis/cribl-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/criblio/cribl-api-reference/revisions/56cb25079271/schema)
