Health check
The health-check endpoint returns the plain-text response OK when the public API worker is available. It confirms reachability, not the health of every downstream dependency.
Authentication: none. The health check is the only API endpoint that does not need an API key.
Endpoints
| Endpoint | Description |
|---|---|
GET / | Check whether the public API worker is responding |
Endpoint details
const response = await fetch("https://api.calmlens.com/v1/health-check", {
method: "GET",
headers: {
}
});
const data = await response.text();