const url = 'https://api.hydrate.sh/v1/__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.hydrate.sh/v1/__healthz
Returns {"ok": true} when the /v1/ surface is serving traffic. Unauthenticated. Use this for load-balancer and uptime-monitor checks; a 404 from this path means the /v1/ surface is disabled on the responding instance, not that the server is down.
{"ok": true}
Successful Response
{ "ok": true}