API-Referenz

Zustand prüfen

Zeigt, ob die API bereit ist und welches Modell antwortet. Ohne Schlüssel, ohne Kosten.

GEThttps://api.axolite.app/health

Beispiel

curl
curl https://api.axolite.app/health

Antwort

200 OK
{ "status": "ok", "model": "axo-small", "models": ["axo-small", "axo-medium", "axo-medium-preview-2", "axo-large"] }
503 Service Unavailable
{ "status": "unavailable", "model": "axo-small", "models": [] }

Während eines Neustarts lädt das Modell einige Sekunden. In dieser Zeit antworten auch /v1/check und /v1/checks mit 503. Den Verlauf siehst du auf der Statusseite.