ApiX Docs
Docs / Model status
·View as Markdown

Model status

/apix/models/info is the catalog, not a live status. The only per-model state it carries is going_away (retirement date) plus operations. Live probe results are served separately:

EndpointReturns
GET /health{"ok":true,"health":"ok"}
GET /health/modelsHTML page with every model
GET /health/models + Accept: application/jsonproviders.<provider>.models.<model> = {state, ok, status, ts}
GET /api/dashboard.jsonmodel_status = {<model id>: {state, ok, status, ts, attempts}}

state values:

ValueMeaning
okthe last probe worked
limitedthe model answered but the account is throttled
failthe last probe failed
unknownnot probed yet (or the model is unsupported)

/health and /health/models need no key; /apix/models/info does.

Turning that into a status dot#

  • Catalog only: green when operations.chat.enabled is true and there is no going_away; red when going_away is set or chat is disabled; grey when the model is not in the catalog.
  • Live: use state from /health/models (ok → green, limited → amber, fail → red, unknown → grey).

No endpoint stores the error of your last call. A 429 PROVIDER_SATURATED or PROVIDER_TEMPORARILY_UNAVAILABLE is knowledge of that request only: if you want the amber dot, remember it client-side for a minute or two.

Models being retired also send x-apix-going-away (the date) on every response.