Get credit balances and current usage
API Reference
Get credit balances and current usage
A live snapshot: workspace balances, credits used today per agent (all agents, including disabled and private ones), and credits used this month per team. Accepts no date filters and keeps no history — snapshot the response yourself if you need a time series.
GET
Get credit balances and current usage
Authorizations
Workspace API key (wk_) with the Workspace read API scope enabled.
Response
Success. Empty result sets are also 200.
Live snapshot — today per agent, current month per team.
totalBalance floored at zero.
Keyed by agent id. Covers every agent, including disabled and private ones.
Keyed by team id.

