Get account usage
stack_usageGet the account usage, spend and earnings for a period. consumption.activity is every audit event in the window. consumption.actions is the metered subset against the monthly allowance. allowance_coverage says whether limit and allowance_plan are known for that exact UTC month. allowance_plan is the plan the account is on (platform, internal, contract or none) for the current month and null for any other. An old unknown month never borrows the current plan. detail_coverage says whether by_kind is complete, partial, or unavailable. The result carries the included actions and the limit for the month; what further actions cost is on the price list (a contract plan has no limit). Reads, revocation, audit export, checkpoints, intent simulation, detector config, governance decisions, and configuration are not metered. For a white-label pool (a partner or one of its tenants) consumption.actions also carries pooled: true, and used is the whole pool the allowance applies to, own_used is the share of this account, and tenants is how many tenant accounts share it. Also returns seats, current-month pass-through allowances, account_since, unlimited inventory counts, retention, fair-use ceilings, actual STACK wallet spend, wallet balance, and publisher earnings. Provider cost estimates are not STACK spend. All money is in cents. The period defaults to the current billing period; since and until (ISO-8601 or unix-ms) set another window.
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": "stack_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Window start (ISO-8601 or unix-ms). Omitted: the current billing period. | |
| until | No | Exclusive window end (ISO-8601 or unix-ms). |