---
title: "Health check"
method: GET
path: "/healthcheck"
---

# Health check

`GET /healthcheck`

## Request

- Base URL: `https://api.coronavirus.data.gov.uk/generic`
- URL: `https://api.coronavirus.data.gov.uk/generic/healthcheck`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uk-health-security-agency/apis/generic-api/docs/healthcheck/get.ts> (a function with typed inputs; its response is checked against the schema)

Depending on service needs, checks resource connections and server health.

## Response `200`

OK - healthy

- Healthcheck
  - `status` string

## Other responses

- `500`: Server error - unhealthy

## Changes

- **2021-08-17** `5a83f3354351`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2021-08-17** `d337e9406cb2`: 1 info
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/uk-health-security-agency/apis/generic-api/changes/healthcheck/get.md)

---

[API](https://skmtc.dev/uk-health-security-agency/apis/generic-api.md) - [All operations](https://skmtc.dev/uk-health-security-agency/apis/generic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uk-health-security-agency/apis/generic-api/revisions/ac434e5ddc2c?raw)
