Update Token Balance
Update Token Balance
Update an agent’s output token balance by incrementing or setting directly.
POST
Update Token Balance
Authentication
Requires JWT token or Platform API key viaAuthorization: Bearer <token> header.
string
required
Agent UUID
number
required
Number of output tokens to add (increment) or set as the new balance (set)
string
required
Update type:
increment (adds to current balance) or set (replaces balance)Example Request
Increment Balance
Set Balance
Example Response
Token balance controls how many output tokens the agent can generate. At Sonnet 4.5 pricing (~15 of usage.

