Skip to main content
GET
/
api
/
status
Public service status (auth, inference, billing, per-model)
curl --request GET \
  --url https://tokens.flex.ai/api/status
{
  "components": [
    {
      "last_checked_at": "2023-11-07T05:31:56Z",
      "detail": "<string>"
    }
  ],
  "models": [
    {
      "name": "<string>",
      "last_checked_at": "2023-11-07T05:31:56Z",
      "error": "<string>"
    }
  ],
  "incidents": [
    {
      "id": "<string>",
      "title": "<string>",
      "started_at": "2023-11-07T05:31:56Z",
      "resolved_at": "2023-11-07T05:31:56Z",
      "customer_action": "<string>",
      "body_md": "<string>"
    }
  ],
  "incidents_available": true,
  "generated_at": "2023-11-07T05:31:56Z",
  "health_data_age_seconds": 123
}

Response

200 - application/json

Successful response

status
enum<string>
required

Worst-status wins. unknown on any component (e.g. auth probe couldn't run) demotes to degraded rather than masquerading as ok.

Available options:
ok,
degraded,
down
components
object[]
required
models
object[]
required

Per-model badges, active catalog only.

incidents
object[]
required
incidents_available
boolean
required

false when incidents.json is missing, malformed, or contains a row that fails validation. The page still renders other components but should surface "incidents temporarily unavailable" instead of claiming "no current incidents".

generated_at
string<date-time>
required
health_data_age_seconds
integer | null