v2

latestOpenAPI 3.1.02026-08-0382170235.8 KB
integrator-workspaces

Add bonus tokens to a workspace

Add bonus tokens to a workspace's monthly quota. These tokens are added on top of the base max_monthly_tokens limit. Use this when a user purchases additional token packs.

The bonus tokens persist until explicitly reset (e.g., on billing cycle renewal).

post/integrator/workspaces/{workspace_id}/token-topup

Path parameters

workspace_idstring uuid required

Request body

tokensinteger required

Number of tokens to add

Response

Successful Response

workspace_idstring uuid required
bonus_tokens_beforeinteger required
bonus_tokens_afterinteger required
effective_limitinteger nullable required

Effective monthly limit (base + bonus). None if unlimited.