# Service Health Probes

Canonical: https://docs.bluehola.com/docs/billing-status/health
OpenAPI: https://docs.bluehola.com/openapi.yaml

# Service Health Probes

Three probes for load balancers, container orchestration and monitoring systems.

| Endpoint | Purpose |
| --- | --- |
| [Liveness Check](get-live.md) | Returns success as long as the process is alive; does not check dependencies. |
| [Readiness Check](get-ready.md) | Additionally checks whether PostgreSQL and Redis are ready. |
| [Pipeline Backlog Check](get-health-pipeline.md) | Reads from the database whether the sending pipeline is moving; returns 503 once the oldest unpublished outbox event, the oldest `accepted` message or the oldest `sending` message is past its threshold. |

Use the readiness check to decide whether traffic can be admitted: passing the liveness check does not mean the dependencies are available.

Use the pipeline backlog check to decide whether the platform is actually delivering: the readiness check still returns 200 when the scheduler is stuck or the message worker stops consuming, while every customer message sits in `accepted`. It is the one external probing should alert on, and it is deliberately kept out of the readiness check so a worker backlog never fails an API release.
