Health check
GET
/healthz
const url = 'https://api.fromenance.com/healthz';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.fromenance.com/healthzReturns ok when the Worker can reach D1. Neon is checked only when ?deep=1.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”deep
string
Responses
Section titled “ Responses ”Healthy
Media typeapplication/json
object
status
required
string
version
required
string
environment
required
string
checks
required
object
neon
required
string
d1
required
string
time
required
string
Example
{ "status": "ok", "checks": { "neon": "ok", "d1": "ok" }}