Get Workspace Usage
getWorkspaceUsageGet the current usage and entitlement snapshot for your workspace: subscription tier, free-minute pool balances (testing/loadTesting/mapping/s2s/s2stest), purchased-pack balances, current-period consumption, and remaining LLM-enrichment tokens. Use this to check whether you have enough capacity before kicking off an expensive job. Returns 404 cross-workspace.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>"
},
"name": "getWorkspaceUsage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | Workspace identifier. Must match the workspace the api-key was issued for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pools | Yes | ||
| tokens | Yes | ||
| workspaceId | Yes | ||
| currentPeriodEnd | No | ISO8601 timestamp when the current billing period ends. Free-tier pools reset at this time. | |
| subscriptionTier | Yes |