get_usage_stats
Retrieve call usage statistics for your organization, including total calls, duration, costs, and status breakdown. Filter by date range or agent to analyze usage patterns and costs.
Instructions
Get call usage statistics for your organization — total calls, duration, costs, and status breakdown. Useful for understanding usage patterns and costs.
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_usage_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date (ISO 8601). Defaults to now. | |
| agent_name | No | Filter to a specific agent (partial match) | |
| start_date | No | Start date (ISO 8601). Defaults to 7 days ago. |