Endpoints
Health check
Check whether the QwryAI API is up. No API key needed.
Call the health check from uptime monitors and deployment scripts to see whether the API can serve requests. It checks the API's database and cache and answers with a single status. It needs no API key, doesn't count toward your rate limits, and returns nothing about your workspace.
GET
https://api.qwryai.com/api/v1/healthAuthentication
None. Send the request without an Authorization header. Every other endpoint needs a key: see Authentication.
Body parameters
None. The health check is a GET request with no body and no query parameters.
Request example
curl 'https://api.qwryai.com/api/v1/health'const response = await fetch("https://api.qwryai.com/api/v1/health");
const { status } = await response.json();
console.log(response.status, status); // 200 "healthy"import requests
response = requests.get("https://api.qwryai.com/api/v1/health")
print(response.status_code, response.json()["status"]) # 200 healthyResponse
When the API is ready, the check returns 200:
{
"status": "healthy"
}| Field | Type | Description |
|---|---|---|
status | string | healthy when the API can serve requests. unhealthy or initializing otherwise, with a 503 status. |
Errors
| HTTP status | status | When |
|---|---|---|
| 503 | unhealthy | The API is running but can't reach its database or cache. |
| 503 | initializing | The API is starting up and isn't ready for requests yet. |