Liveness check
GET
/health
const url = 'https://api.proofql.dev/health';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.proofql.dev/healthAlways { "ok": true } when the worker is up. No authentication.
Responses
Section titled “Responses”The worker is serving requests.
Media typeapplication/json
object
ok
required
boolean
Examples
Exampleok
{ "ok": true}Headers
Section titled “Headers”x-request-id
required
string
This request’s id, on every response. Reuses the caller’s
x-request-id when sent (up to 128 chars), else Cloudflare’s ray id,
else a fresh UUID. Also inside every error envelope.