Skip to content
Zenith / Docs
Developers
OpenAI compatible

Errors and readiness

Stable status codes for clients, plus the difference between /healthz and /readyz.

Enter the hostname your application uses to reach Zenith Gateway. Every Enterprise example below updates instantly.

Hostname only, or paste a full URL. Saved in this browser.

HTTP status map

StatusTypical causeWhat to do
401Missing/invalid Bearer API keyCreate a Cloud zk_ key or Gateway API key; do not use session cookies
402Cloud wallet empty (hosted plans)Top up or confirm Free starter credit; BYOK skips wallet debit
403License required, plan entitlement, or policy denyActivate .lic on Gateway; check Cloud plan / governance policy
429Rate limitedBack off; check Gateway pool/RPM limits
502Upstream provider failureCheck provider keys, health, and Gateway routing

Health vs ready

  • /healthz — process is serving; always 200 when up.
  • Gateway /readyz — 503 until licensed; then structured readiness.
  • Cloud /readyz — dependency readiness for the issuer/cloud process.

Support

Include the request ID from error responses, the surface (Cloud vs Gateway), base URL you configured, and whether model was auto, a BYOK namespaced id, or a pool alias. Never send raw API keys.