Health Probes
devProbes run server-side against public Railway URLs (no CORS). Allowed: localhost, 127.0.0.1, *.railway.app. /docs returns HTML (Swagger UI) — not JSON; a 200 with HTML is treated as healthy.
Default targets (dev)
Main stack not provisioned yet. Set MAIN_API_URL_MAIN on deploy-console when main-api is live.
Custom URL
Click a target above to run a health probe for dev.
Expected responses
| Endpoint | Status | Body (example) |
|---|---|---|
/health (DB + queue up) | 200 | {"status":"healthy","database":"connected","rabbitmq":"connected"} |
/health (queue disabled) | 200 | {"status":"degraded","database":"connected","rabbitmq":"disconnected (producer not initialized)"} |
/health (DB down) | 200 | {"status":"unhealthy","database":"error: ...","rabbitmq":"disconnected"} |
/docs (Swagger UI) | 200 | HTML page — not JSON |
/openapi.json | 200 | {"openapi":"3.x.x", ...} |