Health check
A public liveness probe for the edge runtime, with an optional database ping.
GET
…/health/ No authentication. Use it from uptime monitors. Add ?db=1 to also check that the database answers.
Query parameters
-
dbstring optionalPass1to include a database round-trip in the check.
Response
Returns 200 when healthy and 503 when the database check fails. Responses are never cached.
-
statusstringok, ordegradedif the database check failed. -
servicestringedge-runtime. -
timestringServer time, ISO 8601. -
booted_atstringWhen this instance started. -
regionstring | nullEdge region serving the request. -
deployment_idstring | nullExecution ID of the instance. -
denostringRuntime version. -
databaseobjectOnly with?db=1:statuspluslatency_ms, or amessageon error. -
latency_msintegerTime taken to build the response.
Was this page helpful?
Reviewed · Contact support