REST API

GET /healthz

Liveness probe

GET /healthz

Always mTLS-gated like every other route (apps/api/deploy/README.md): Kubernetes probes this process over plain TCP instead, never HTTP.

Responses #

  • 200 Successful Response

  • 401 No client certificate reached this route (`client_certificate_required`).

    • error object required

      The body of every non-2xx response: what went wrong, for a program and for a person.

  • 403 The client certificate's CN is not in `DIAGNOS_API_ALLOWED_CLIENT_CN` (`client_certificate_cn_not_allowed`).

    • error object required

      The body of every non-2xx response: what went wrong, for a program and for a person.

curl --cert client.crt --key client.key \
  -X GET "https://api.imgexam.com/healthz" \
  -H "Content-Type: application/json"
{}