---
title: "Returns API's health status"
method: GET
path: "/health"
tags: ["Private"]
---

# Returns API's health status

`GET /health`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/health`
- Auth: none required

Returns health status of the API and checks on dependent services

## Response `200`

Successfully returns OK status with checks of dependent services

- Health
  - `status` 'OK' | 'WARNING' | 'CRITICAL': The status of the API
  - `version` object
    - `build_time` string: The build date and time of the API
    - `git_commit` string: The git commit hash of the API
    - `language` string: The programming language used to implement API
    - `language_version` string: The version of the programming language used to implement API
    - `version` string: The version of API
  - `uptime` string: The uptime of API
  - `start_time` string: The start date and time of API running
  - `checks` HealthChecker[]
    - `name` 'mongodb': The name of external service used by API
    - `status` 'OK' | 'WARNING' | 'CRITICAL': The status of the external service
    - `message` string: The message status of the external service
    - `last_checked` string: The last health check date and time of the external service
    - `last_success` string: The last successful health check date and time of the external service
    - `last_failure` string: The last failed health check date and time of the external service

## Other responses

- `429`: Services warming up or degraded (at least one check in WARNING or CRITICAL status)
- `500`: Service is failing having at least one check with a CRITICAL status having exceeded the recovery grace period.

## Changes

> 31 revisions in range; 2 not diffed.

- **2025-04-30** `ef2686afc3f9`: 2 info
  - api tag `Private` added
  - api tag `private` removed

[Operation history](https://skmtc.dev/office-of-national-statistics/apis/bundle-administration/changes/health/get.md)

---

[API](https://skmtc.dev/office-of-national-statistics/apis/bundle-administration.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/bundle-administration/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/bundle-administration/revisions/4ac833f533b1?raw)
