GET /v1/usage is the Console's canonical usage, spend, and earnings response. It is operator-scoped and uses UTC windows.
curl "https://api.getstack.run/v1/usage?since=2026-08-01T00:00:00Z&until=2026-09-01T00:00:00Z" \
-H "Authorization: Bearer <access token>"A non-GET proxy write is counted once when STACK admits the durable operation. Unchanged retries use the same operation and do not add another action. Operation-status and stored-response reads are unmetered. A proxy request refused after policy evaluation still consumes an attempt. LLM gateway calls remain separate actions and do not inherit the proxy write-recovery contract.
Seats count every person on the account, the owner included; no plan caps them, so included and total are null. A billing-period response reports current-month pass-through allowances for L3 classifications, SMS, and email. A custom time window returns passthrough: null because the historical counters are not durable. Agents, service connections, published skills, and inbound webhook endpoints are current point-in-time counts under unlimited. For a custom window, agent and published-skill rows also include created_in_window.
spend_cents reports actual STACK wallet spend by bucket. Top-ups, refunds, and adjustments are wallet movements, not product spend. LLM provider costs remain separate from STACK fees and wallet debits. The response also includes wallet balance and unpaid and lifetime publisher earnings.
An old month with unknown allowance coverage never borrows the current plan limit. Render the coverage field instead of inventing a historical quota.