Health
Generated from core/api/router.go. Edit the router, not this file.
| Method | Path | Who can call it |
|---|---|---|
GET | /healthz | Public — no credential |
GET | /readyz | Public — no credential |
GET /healthz
| Who can call it | Public — no credential |
| Handler | inline |
Public, and deliberately says nothing about internals.
Example request
bash
curl -X GET 'https://certpilot.example.com/healthz'GET /readyz
| Who can call it | Public — no credential |
| Handler | inline |
Readiness: whether this replica can serve, which it cannot without its database. /healthz stays a liveness probe and keeps answering, so an orchestrator does not restart a process whose only fault is the network; a load balancer probing this stops sending it traffic instead. The cause is logged, not returned: the caller is unauthenticated.
Example request
bash
curl -X GET 'https://certpilot.example.com/readyz'