Health Check¶
Health check endpoint for monitoring and load balancer probes. No authentication required.
GET /health¶
Returns the operational status of the Pipelit backend, including Redis and database connectivity.
Authentication: None required.
Example request:
Response (200) — all healthy:
Response (200) — degraded:
Response Fields¶
| Field | Type | Description |
|---|---|---|
status | string | "ok" if all checks pass, "degraded" if any check fails |
version | string | Pipelit version from the VERSION file |
redis | boolean | true if Redis responded to PING |
database | boolean | true if database responded to SELECT 1 |
Status Values¶
| Status | Meaning |
|---|---|
ok | All infrastructure checks passed |
degraded | One or more checks failed — the API may still serve requests but some features (e.g., background jobs, pub/sub) will be impaired |
Usage¶
Load Balancer Health Checks¶
Configure your load balancer to poll /health periodically:
Monitoring Integration¶
The endpoint works with any HTTP-based monitoring tool (Uptime Kuma, Prometheus blackbox exporter, etc.). Check for status: "ok" or inspect the individual redis and database fields for granular alerts.
systemd Watchdog¶
Add a startup health check to your systemd unit:
Not behind authentication
The health endpoint is intentionally unauthenticated so load balancers and monitoring tools can probe it without API keys. It does not expose any sensitive data.