Skip to content

v2.1.0 - Add /health endpoint

Choose a tag to compare

@rahulkeerthi rahulkeerthi released this 05 Apr 10:38
· 74 commits to main since this release
ba5f47f

API

  • Add GET /health endpoint (public, no auth) for uptime monitoring
  • Returns 200 with {status, version, db, timestamp} when healthy
  • Returns 503 if D1 is unreachable
  • Responses are not cached (Cache-Control: no-store)

Example

$ curl https://reep-api.rahulkeerthi2-95d.workers.dev/health
{"status":"ok","version":"2.1.0","db":"ok","timestamp":"2026-04-05T10:38:38.005Z"}