Org API — usage
org_usageRetrieve organization usage for a billing period using an org API key or a user bearer token for a specific org.
Instructions
Org usage via X-Api-Key (GET /api/v2/org/usage) or user Bearer on /orgs/{id}/usage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "org_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | No | If set, use user Bearer on /orgs/{id}/usage; else org API key self usage | |
| period | No | Billing period e.g. 2026-06 |