idle
This calls GET /v1/key/usage with your key in the
Authorization: Bearer header. The key is sent only to the gateway you specify.
What the results mean
After you check a key, you'll see a summary, a per-model breakdown, usage by date, and a response/error breakdown.
200 — key accepted; usage shown below.
401 — key missing, wrong, revoked, or expired.
403 — key valid but lacks the
chat/embeddings permission.404 — unknown route or model name.
error — provider or gateway failure (retry shortly).
Heads-up about Production: on Railway the database lives on ephemeral storage, so it is reset on every new deploy. If your key was created before a deploy, it no longer exists and you'll get a 401 here — issue a fresh key and it will work again.
Summary
Models used
| Model | Requests | Tokens | Prompt | Completion | First used | Last used |
|---|
Usage by date
| Date | Requests | Tokens |
|---|
Responses & errors
By status
| Status | Count |
|---|
By HTTP code
| HTTP | Count |
|---|
By error type
| Error type | Count |
|---|