Credits
Get the caller's real per-tool credit usage aggregation
A GROUP BY toolInvocation.name aggregation over CreditLedger CAPTURE/USAGE rows — backs the /usage dashboard’s stat cards and Overview tab.
GET
Error
Authorizations
Clerk session token, Authorization: Bearer <token>. This documents the app's own internal auth as of S1-S6 — see S8-public-api-bonus.md for the fallback scope this doc covers, and the public API-key scheme's own page once the full scope ships.