Get credits
Read the organization’s remaining credit balance.
{ available, plan_credits, topup_credits, period } for the key’s
organization — the total spendable balance plus its split into subscription (plan)
and top-up credits, and the current billing period. Requires the usage.read
scope. For pricing detail, see Pricing.Authorizations
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Headers
Response
Successful Response
GET /credits body — the org's REMAINING credit balances (ADR §10).
All three amounts are balances (not allocations), so
available == plan_credits + topup_credits always holds.
Total credits spendable right now — the sum of plan_credits and topup_credits.
1450
Remaining monthly subscription-pool credits. 0 when the plan pool is exhausted or the subscription is canceled and past its period end (top-up credits stay spendable).
1200
Remaining credits from valid (non-expired) top-up purchases.
250
The org subscription's current billing-period bounds (ISO-8601).

