Get credit usage stats
get_credit_usage_statsGet aggregated credit usage for the caller's active organization: totals, spend by tool, and spend by day. Optional startDate/endDate window. Does not spend credits.
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": "get_credit_usage_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | Inclusive ISO-8601 end of the window. | |
| startDate | No | Inclusive ISO-8601 start of the window. |