Health check
GET/v1/healthNo auth
Whether the API is up, and which build is serving it. Needs no key and doesn’t read the catalog, so it answers even when the database is down.
Authorization
None: this endpoint is public.
Responses
The API is running.
application/json · Health
statusstringrequiredAlways
okwhen the API answers.- Example
ok
stagestringrequiredThe deployment answering,
prodfor the production API.- Example
prod
versionstringrequiredThe build serving the request (a short commit ID). Changes with each release.
- Example
0241463
{ "status": "ok", "stage": "prod", "version": "0241463"}Over a rate limit: your account’s per-minute limit from its plan (entitlements.requests_per_minute on GET /v1/account), shared by its keys, or the API-wide throttle every caller shares. Wait Retry-After seconds, then retry with backoff.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.- Example
about:blank
titlestringrequiredThe HTTP status’s standard name.
- Example
Not Found
statusintegerrequiredThe HTTP status code, the same as the response’s.
- Example
404
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
- Example
No version claude-sonnet-9.
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal- Example
not_found
{ "type": "about:blank", "title": "Too Many Requests", "status": 429, "detail": "Your plan allows 60 requests a minute, across your account's keys. Retry after 12 s.", "code": "rate_limited"}{ "type": "about:blank", "title": "Too Many Requests", "status": 429, "detail": "The API is busy. Retry after 1 s, with backoff.", "code": "rate_limited"}