{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cloudflare / Accounts DNS Analytics API",
    "version": "4.0.0"
  },
  "items": [
    {
      "info": {
        "name": "DNS Analytics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cloudflare Get Dns Analytics Report",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/zones/:zone_id/dns_analytics/report",
            "params": [
              {
                "name": "zone_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the zone."
              },
              {
                "name": "since",
                "value": "2026-01-15T10:30:00Z",
                "type": "query",
                "description": "Start date of the analytics query in ISO 8601 format."
              },
              {
                "name": "until",
                "value": "2026-01-15T10:30:00Z",
                "type": "query",
                "description": "End date of the analytics query in ISO 8601 format."
              }
            ]
          },
          "docs": "Retrieve aggregated DNS analytics metrics for the zone including query counts, response codes, and record types."
        },
        {
          "info": {
            "name": "Cloudflare Get Dns Analytics by Time",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/zones/:zone_id/dns_analytics/report/bytime",
            "params": [
              {
                "name": "zone_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the zone."
              },
              {
                "name": "since",
                "value": "2026-01-15T10:30:00Z",
                "type": "query",
                "description": "Start date in ISO 8601 format."
              },
              {
                "name": "until",
                "value": "2026-01-15T10:30:00Z",
                "type": "query",
                "description": "End date in ISO 8601 format."
              },
              {
                "name": "time_delta",
                "value": "all",
                "type": "query",
                "description": "Time interval for grouping results."
              }
            ]
          },
          "docs": "Retrieve time-grouped DNS analytics metrics for the zone."
        }
      ]
    }
  ],
  "bundled": true
}