get-usage
Retrieve hourly usage data by product family for billing and capacity planning. Track metrics like infra hosts, log ingestion volume, and APM usage trends.
Instructions
Get hourly usage data by product family. Use for 'how many infra hosts this month', 'log ingestion volume', 'APM usage trends'. Returns usage records with timestamps for billing and capacity planning.
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": {
"startHr": "<startHr>"
},
"name": "get-usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startHr | Yes | Start time ISO8601 (e.g., '2024-01-01T00:00:00+00:00') | |
| endHr | No | End time ISO8601 | |
| productFamilies | No | Comma-separated families (e.g., 'infra_hosts,logs,apm') | |
| pageLimit | No | Max records to return | |
| pageNextRecordId | No | Pagination cursor |