health

Readiness probe

Gates traffic on the hard dependency only (db). Peer services (mb, kv) are deliberately excluded — a downstream blip must not 503 the whole API; they remain visible on GET /health. Public (no auth). Returns "degraded" with a 503 when the db is unreachable.

get/health/ready

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/health/ready
  • 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.