Health
The Health endpoint provides a simple way to verify the API is operational and check the status of dependent services.
GET /health
Section titled “GET /health”Check API health and connectivity to dependent services.
Auth: None
Response:
{ "status": "healthy", "checks": { "api": "ok", "turso": "ok" }}| Field | Description |
|---|---|
status | healthy if all checks pass, degraded if any fail |
checks.api | Always ok if the endpoint responds |
checks.turso | Database connectivity (ok or error message) |
curl https://api.lynxvizion.com/api/healthDegraded example
Section titled “Degraded example”{ "status": "degraded", "checks": { "api": "ok", "turso": "error: Connection refused" }}