Public & system API
Health check
Liveness probe for load balancers and uptime monitors.
GET
https://api.screamingdata.dev/health- Authentication
- None
- Cost
- Free
- Body
- No request body
Overview
Always returns 200 while the API process is alive; status is degraded when the database does not answer. queue and rate_limits are kept for older clients and are always empty. The body is not wrapped in the response envelope.
Cost
Free.
Request
GET /health.
This endpoint takes no parameters.
Request example
This endpoint does not need credentials.
curl --request GET \
--url "https://api.screamingdata.dev/ health"import requests
response = requests.get(
"https://api.screamingdata.dev/ health",
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.screamingdata.dev/ health");
console.log(response.status, await response.json());Response
HTTP 200. The body is plain JSON (not wrapped in the response envelope).
{
"status": "ok",
"database": true,
"queue": {},
"rate_limits": {}
}Result fields
Liveness report. Not wrapped in the response envelope.
statusstring
ok, or degraded when the database cannot be reached.
databaseboolean
Whether the database answered.
queueobject
Kept for older clients; always empty.
rate_limitsobject
Kept for older clients; always empty.
HTTP status codes
- 200The process is alive; check
statusfor dependencies.