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

# Deep health check

`GET /health`

## Request

- Base URL: `https://api.instruxi.dev/api/v1/enforcer`
- URL: `https://api.instruxi.dev/api/v1/enforcer/health`
- Auth: none declared

Reports the db plus every configured peer (mb, kv), each as a bare "ok"/"error" keyed by role — never by implementation. Wire dashboards/alerting here, NOT the readiness probe (use /health/ready, so a peer blip can't 503 auth). Public (no auth). Any failing check yields "degraded" with a 503.

## Response `200`

OK

- InternalDeliveryHttpHandlerHealthStatusResponse
  - `checks` object
  - `status` string
  - `time` string
  - `version` string: Version is the git revision this binary was built from, or "unknown" when the build carries no stamp. Its ABSENCE is meaningful too: a response with no version field is an image predating this endpoint, which is usually the answer a deploy check wants.

## Other responses

- `503`: degraded — one or more checks failing

---

[API](https://skmtc.dev/instruxi/apis/enforcer-api.md) · [All operations](https://skmtc.dev/instruxi/apis/enforcer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/instruxi/apis/enforcer-api/revisions/fa82bc1becc0?raw)
