SystemHealth check

Health check

Public liveness check: requires no authentication and doesn't touch the database. Suitable for monitoring and as a quick answer to "is the worker deployed at all?", but does NOT prove that D1 is available

curl -X GET "https://policy-engine-rest.ezig.workers.dev/" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "ok": true,
  "service": "example_string"
}
GET
/
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Session token. Mobile/services. The web uses a cookie.

Session token. Mobile/services. The web uses a cookie.
API Key (cookie: session_token)
session_tokenstring
Required

API key (sent in cookie)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Session token. Mobile/services. The web uses a cookie.

path
parameterstring
Required

API Key for authentication. Provide your API key in the cookie.

Responses

okboolean
Required
servicestring
Required