---
title: "health check endpoint"
method: GET
path: "/health"
tags: ["public"]
---

# health check endpoint

`GET /health`

## Request

- Base URL: `https://meowfacts.herokuapp.com`
- URL: `https://meowfacts.herokuapp.com/health`
- Auth: none declared
- TypeScript: <https://skmtc.dev/wh-iterabb-it/apis/meow-facts-api-get-a-random-cat-fact/docs/health/get.ts> (a function with typed inputs; its response is checked against the schema)

The health check endpoint will return a status of 200 if the api is up and ready to recieve connections. It will tell the uptime, and total requests served since last restart. It also has a field for version which corresponds to the versioned release from the github repo.

## Response `200`

Default Health check response

- Healthcheck
  - `data` HealthcheckData
    - `uptime` string
    - `version` string
    - `requests` integer

## Changes

- **2026-07-17** `36d35247be3e`: 1 info
  - endpoint added
- **2019-10-03** `a693cb18687a`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/wh-iterabb-it/apis/meow-facts-api-get-a-random-cat-fact/changes/health/get.md)

---

[API](https://skmtc.dev/wh-iterabb-it/apis/meow-facts-api-get-a-random-cat-fact.md) - [All operations](https://skmtc.dev/wh-iterabb-it/apis/meow-facts-api-get-a-random-cat-fact/llms.txt) - [OpenAPI document](https://skmtc.dev/wh-iterabb-it/apis/meow-facts-api-get-a-random-cat-fact/revisions/36d35247be3e?raw)
