get_zone_analytics
Get HTTP traffic analytics for a zone over a time range via GraphQL.
Instructions
Get HTTP traffic analytics for a zone over a time range (via GraphQL).
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": {
"zone_id": "<zone_id>",
"since": "<since>",
"until": "<until>"
},
"name": "get_zone_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The Cloudflare zone ID (32-char hex). Get it from list_zones. | |
| since | Yes | Hour-aligned ISO 8601 UTC start, e.g. 2024-01-01T00:00:00Z. httpRequests1hGroups buckets are hourly. | |
| until | Yes | Hour-aligned ISO 8601 UTC end, e.g. 2024-01-02T00:00:00Z. |