v2

latestOpenAPI 3.1.02026-08-0382170235.8 KB
usage

Get token quota status for a workspace

Returns the current month's token usage vs. limit for a workspace.

Use this to check remaining quota before LLM operations or to display a usage bar in the frontend. When is_limited is false, the workspace has no token limit (unlimited).

get/integrator/usage/token-quota

Query parameters

workspace_idstring uuid required

Workspace ID to check

Workspace ID to check

Response

Successful Response

is_allowedboolean required
tokens_usedinteger required
tokens_limitinteger required

Effective limit (base + bonus)

tokens_remaininginteger required
bonus_tokensinteger
periodstring required

Period key YYYYMM

is_limitedboolean required

False when workspace has no token limit (unlimited)