Skip to main content
GET
/
api
/
health
Health
curl --request GET \
  --url https://app.airrating.io/api/health
{
  "status": "<string>",
  "time": "<string>",
  "components": {
    "api": "<string>",
    "database": "<string>",
    "ml_model": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.airrating.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Public endpoint — no API key required. Returns the current status of the API, the database, and the ML model. Use this endpoint to verify connectivity before making scored requests, or to integrate into your own monitoring stack.

Response

status
string
Overall status: ok if all components are healthy, degraded if one or more components are unavailable.
time
string
ISO 8601 UTC timestamp of the health check.
components
object
Status of individual components.

Example

curl "https://app.airrating.io/api/health"
{
  "status": "ok",
  "time": "2026-03-21T10:00:00Z",
  "components": {
    "api": "ok",
    "database": "ok",
    "ml_model": "ok"
  }
}

Degraded example

Returns HTTP 503 when any component is unhealthy.
{
  "status": "degraded",
  "time": "2026-03-21T10:00:00Z",
  "components": {
    "api": "ok",
    "database": "error",
    "ml_model": "ok"
  }
}

Status page

For live uptime monitoring and incident history, see status.airrating.io.