---
title: "Health check"
method: GET
path: "/health"
tags: ["System"]
---

# Health check

`GET /health`

## Request

- Base URL: `https://api.vettly.dev`
- URL: `https://api.vettly.dev/health`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vettly/apis/vettly-content-moderation-api/docs/health/get.ts> (a function with typed inputs; its response is checked against the schema)

Check API health and verify dependencies (database, providers)

## Response `200`

System is healthy or degraded

- HealthResponse
  - `status` 'healthy' | 'degraded' | 'unhealthy', required: Overall system health status
  - `version` string, required: API version
  - `timestamp` string, date-time, required: Current timestamp
  - `providers` string[], required: Available moderation providers
  - `checks` object, required
    - `database` object
      - `status` 'pass' | 'fail'
      - `message` string
      - `latency` number
    - `providers` object
      - `status` 'pass' | 'fail'
      - `message` string

## Other responses

- `503`: System is unhealthy

---

[API](https://skmtc.dev/vettly/apis/vettly-content-moderation-api.md) - [All operations](https://skmtc.dev/vettly/apis/vettly-content-moderation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vettly/apis/vettly-content-moderation-api/revisions/bc3dcc22cce5?raw)
