Credits
Get one run's full raw credit-ledger step breakdown
Every CreditLedger row sharing this run’s runId — the full RESERVE/CAPTURE/RELEASE/USAGE lifecycle, not just the net-debited subset — backs the /usage “Usage details” modal. Caller-scoped: a runId belonging to another user returns an empty items/null chatId, never a 404/403 leak of whether that runId exists.
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.