getTimeQueriesStats
Retrieve time-based DNS query statistics for a chosen period and filter results by devices, countries, or DNS servers to analyze traffic trends.
Instructions
Gets time statistics
Returns time-based DNS query statistics for the specified period. Use the time range parameters to define the period and filters to narrow the results.
Calls GET /oapi/v1/stats/time.
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": "getTimeQueriesStats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| devices | No | Filter by devices | |
| timespan | No | Statistics timespan (has greater priority over explicitly provided millis) | |
| countries | No | Filter by countries | |
| dns_servers | No | Filter by DNS servers | |
| X_Account_Id | No | Optional ID of the account to operate on. Defaults to the authenticated user's own account. Use GET /oapi/v1/accounts to list available accounts. | |
| time_to_millis | No | Time to in milliseconds (inclusive), required if `timespan` is not specified | |
| time_from_millis | No | Time from in milliseconds (inclusive), required if `timespan` is not specified |