Usage
GET /v1/usage — scope billing:read (a key with tools:read, which every preset holds, also works).
total_micro_usd is the sum of your ledger debits in the window, so it matches your charges, including computer time
and media billed after the call. Per key and per day split those debits by who was charged and when. Per tool and per
identity use each call’s own cost, and whatever the ledger charged beyond that (computer time, media renders, resource
fees) is on the row with key: null, so the rows always add up to the total. calls leaves out the console’s own page
reads.
Your balance, top-ups and ledger are on the existing credits routes.
Balance and top-ups
Developer workspaces are prepaid. Top up in the console (Usage → Top up, $10 to $1,000 per top-up). The first qualifying top-up marks the workspace funded. Before it, a gated call answers402 funding_required even
with credit left on the balance:
- Free credit covers: data, search and social data tools, image generation, model routing, stock media search, identities and inboxes, email to your own team, domain checks, paper trades, vaults and webhooks.
- Needs a first $10 top-up: AI video, voice, music, sound effects, 3D, edits, clips and transcription; email to people outside your workspace; phone numbers and texts; live trades and buying domains (72 hours after your first top-up); computers, browsers and phone sandboxes; social posting; connected apps; hosted apps; identity verification; character training.
Logs
Every call a key or MCP connection makes in a developer workspace is logged, with its cost. Rows are kept 90 days; the redacted arguments 30 days. Arguments never include message bodies: recipient lists become a count, subjects a length.GET /v1/logs — scope audit:read (a key with tools:read also works).
The log entry
The error
code, when it failed. See Errors.GET /v1/logs/{request_id} reads one entry and adds audit, the audit-log rows written by that request.