health

Deep health check

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.

get/health

Request

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

Response

OK

checksobject
statusstring
timestring
versionstring

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.

Example response

{
  "status": "ok",
  "version": "b0026a19c3f2"
}

Changes

No recorded changes to this operation across all 1 revision of this API.