Provider usage reference
This page is the field-level reference for everything the usage surfaces show. The rules behind the numbers live in the admin reference (Provider usage readers); the shapes below are identical on the web page, the chat row, the API and the MCP tool.
The reading
Section titled “The reading”| Field | Values | Meaning |
|---|---|---|
provider |
anthropic, openai, google, copilot, opencode-go, … |
The canonical provider key |
account |
an e-mail, a key label, a plan badge or a short id | WHICH account the window belongs to |
window_type |
rolling_5h, weekly, monthly, daily |
The provider’s window, never coerced onto another |
scope |
all, model:<id>, family:<id> |
The credential’s overall budget, one model’s sub-budget, or one model family’s |
reader |
a declaration name (status_probe, task_boundary, response_headers, …) |
WHICH reader produced the number |
class |
measured, header, estimate, definition |
HOW the number was obtained |
limit_hit |
boolean | We observed the provider refusing this window |
permits_overage |
boolean | The provider bills overage instead of refusing |
unit |
fraction, percent, usd, requests, tokens, … |
The unit of the absolute pair |
fill_pct |
0–100 or empty |
Percent consumed; empty means unknown, never zero |
observed_at |
ISO-8601 | When the number was observed at the source |
age_seconds |
integer | Seconds since the observation |
freshness |
fresh, aging, stale, closed |
The age band of the window type, or “the reset passed” |
window_open |
boolean | False once the reset has passed |
resets_at |
ISO-8601 or empty | The provider’s stated reset, or the one the window definition implies |
gate_eligible |
boolean | True only when the ONE gate predicate accepts this reading |
Freshness bands
Section titled “Freshness bands”| Window | fresh |
aging |
stale (not gate input) |
|---|---|---|---|
| 5-hour | up to 15 min | up to 60 min | older |
| Weekly | up to 2 h | up to 12 h | older |
| Monthly | up to 12 h | up to 48 h | older |
| Daily | up to 1 h | up to 6 h | older |
A closed window is never current, whatever its age.
Notification thresholds
Section titled “Notification thresholds”| Setting | Default | Where |
|---|---|---|
| Threshold pair | 80,95 (percent, ascending) |
Instance setting usage_alert_thresholds; the operator API PUT /api/operator/v1/usage-alert-thresholds |
The pair is announced once per window occurrence, to the workspace owners and admins, in the in-app inbox and in a linked chat account.
Chat rows
Section titled “Chat rows”/usage prints one row per reading:
🔹 Anthropic (weekly · account) — 82% · measured · owner@example.com · 5m old · reset in 2d 4h📐 OpenAI (5-hour · model gpt-5) — 41% · estimate · key-1 · 12m old · reset in 3hThe leading glyph marks what a bare percentage cannot: 🔹 measured, 📐 estimate, ⛔ limit hit, ◻ a reading that is not current, · anything else.
/usage refresh asks for one audited read and prints the outcome per credential.
MCP usage.get
Section titled “MCP usage.get”A Read-tier tool of the workspace the session belongs to. It takes no arguments and
returns {workspace_id, observed_at, thresholds, windows, readers} — the same fields as the
table above plus the reader health rows. It never returns a secret and never a raw provider
response body. It is deliberately not in the Ops rate-limit bucket: a read is not an
operation.
| Endpoint | Returns |
|---|---|
GET /api/workspaces/{id}/usage/manage |
UsageManageView — the windows, the declared readers, the per-credential health, the thresholds in force and the assembly instant |
POST /api/workspaces/{id}/usage/refresh |
{results: [{credential_id, credential_kind, outcome, reader?, appended?, skipped?}]}; outcome is read, unavailable, no_reader, refused or unknown_credential |
Both are workspace-admin reads, like the usage page itself.