Get Zone Analytics Tool
get_zone_analytics_toolRetrieve Cloudflare zone traffic analytics for a date range: total requests, unique visitors, bandwidth, cache ratio, and status code breakdown. Specify zone_id or zone_name.
Instructions
Get zone traffic analytics summary.
Returns total requests, unique visitors, bandwidth, cache ratio, and status code breakdown for the given date range.
Provide either zone_id or zone_name, not both.
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_zone_analytics_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Start date ISO format (default: 30 days ago) | |
| until | No | End date ISO format (default: today) | |
| zone_id | No | Zone ID (32-character hex string) | |
| zone_name | No | Zone name (domain like example.com) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||