get_zone_analytics
Retrieve analytics data for a Cloudflare zone including requests, bandwidth, threats, and pageviews within specified time ranges to monitor performance and security metrics.
Instructions
Get analytics data for a zone including requests, bandwidth, threats, and pageviews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The zone ID | |
| since | No | Start time (ISO 8601 format or relative like '-1440' for last 24h) | |
| until | No | End time (ISO 8601 format or relative like '-0') |
Input Schema (JSON Schema)
{
"properties": {
"since": {
"description": "Start time (ISO 8601 format or relative like '-1440' for last 24h)",
"type": "string"
},
"until": {
"description": "End time (ISO 8601 format or relative like '-0')",
"type": "string"
},
"zone_id": {
"description": "The zone ID",
"type": "string"
}
},
"required": [
"zone_id"
],
"type": "object"
}