usage_dashboard_data
Generate usage analytics endpoints by aggregating selected metrics by hour, day, week, or month, with retention and API-key authentication, for dashboard time-series queries.
Instructions
Generate usage analytics data endpoints with aggregation and time-series queries
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": {
"metrics": "<metrics>"
},
"name": "usage_dashboard_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| metrics | Yes | Metric names to aggregate | |
| granularity | No | daily | |
| retention_days | No |