Health check API reference
GET / returns the two-character body OK as text/plain, not JSON, when the public API is available; the response below shows that literal value. It confirms reachability, not the health of every downstream dependency.
Authentication: none.
Service status
The status page shows the current state of each service CalmLens monitors, its daily history and any downtime. Check it when requests fail with server errors or time out. Availability and incidents on the Trust page explains how incidents are communicated and when service levels apply.
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: {
}
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const data = await response.text();