Skip to main content
GET
Readiness probe

Response

All downstream deps healthy

db
boolean
required

SELECT 1 on Postgres succeeded.

redis
boolean
required

PING on Redis returned PONG.

sources
object
required

Per-source freshness so /status can render each row with its own honest age instead of mirroring the global discount timestamp.

status
string
required

"ready" if all downstream deps are healthy; "not_ready" otherwise.

last_snapshot_age_secs
integer<int64> | null

Seconds since the most recent discount_snapshots.ts. None if no snapshots exist yet.