Current credit balance + per-pipeline breakdown of active holds.
Documentation Index
Fetch the complete documentation index at: https://docs.roughy.ai/llms.txt
Use this file to discover all available pages before exploring further.
Either your Supabase session JWT (UI flows) or an API key minted via POST /api-keys (programmatic flows). Pass it as Authorization: Bearer <token>. The server inspects the token format and routes to JWT or API-key verification automatically.
Successful Response
GET /credits/balance response.
balance already accounts for active holds (they're negative ledger
deltas). holds is informational -- it shows the user where their
held credits are tied up so "why is my balance lower than I expect"
has a clear answer. total_held is the sum across holds.