Health Check
Public health/readiness check; verifies upload/output dirs are writable. Returns HTTP 503 when any CRITICAL local check fails (unwritable dirs) so
orchestrator readiness probes pull a degraded instance out of rotation.
For pure liveness (process/event-loop alive) use GET /livez.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response
Health check response. checks maps each probed resource (e.g. upload_dir) to "ok"
or an error string. Overall status is "ok" only when all checks
pass; otherwise "degraded". commit is the git SHA of the deployed code (set via
RENDER_GIT_COMMIT on Render, or GIT_COMMIT elsewhere).