Skip to main content

http_requests_overview_adaptive_groups

Analytics resource

This is a time-bounded analytics resource. Queries against it differ from typical CRUD resources in a few ways:

  • since and until are required. Both are RFC3339 timestamps and define the analytics window (e.g. since = '2026-05-28T00:00:00Z', until = '2026-05-29T00:00:00Z'). Queries without them will fail.
  • Row cap via limit. The limit parameter (default 100) bounds the response. Widen the time window or raise limit to return more rows.
  • Token scope. Cloudflare's analytics endpoints require an API token with Account -> Analytics -> Read permission, which is broader than typical zone-scoped tokens. A token without it will return empty results.

Creates, updates, deletes, gets or lists a http_requests_overview_adaptive_groups resource.

Overview

Namehttp_requests_overview_adaptive_groups
TypeResource
Idcloudflare.zones.http_requests_overview_adaptive_groups

Fields

The following fields are returned by SELECT queries:

Response

NameDatatypeDescription
client_country_namestringISO-3166 alpha-2 country code.
edge_response_content_type_namestringResponse content type.
bytesintegerTotal bytes served.
cached_bytesintegerBytes served from cache.
cached_requestsintegerRequests served from cache.
datetimestring (date-time)Minute-bucketed timestamp.
edge_response_statusintegerHTTP status returned to the client.
page_viewsintegerSuccessful HTML content requests.
requestsintegerTotal request count for the tuple.
user_agent_browserstringBrowser parsed from user agent.
visitsintegerCross-referer visit count.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_tag, since, untillimitHTTP request overview for a zone, adaptive-sampled, grouped by minute, client country, HTTP status, content type, and browser. Lighter-weight than zone_http_requests_adaptive_groups. Replaces the deprecated REST /zones/{zone_id}/analytics/colos endpoint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
sincestring (date-time)Lower bound (inclusive). RFC3339.
untilstring (date-time)Upper bound (exclusive). RFC3339.
zone_tagstringCloudflare zone ID (the 32-char hex tag).
limitintegerMaximum dimension-tuple rows per call.

SELECT examples

HTTP request overview for a zone, adaptive-sampled, grouped by minute, client country, HTTP status, content type, and browser. Lighter-weight than zone_http_requests_adaptive_groups. Replaces the deprecated REST /zones/{zone_id}/analytics/colos endpoint.

SELECT
client_country_name,
edge_response_content_type_name,
bytes,
cached_bytes,
cached_requests,
datetime,
edge_response_status,
page_views,
requests,
user_agent_browser,
visits
FROM cloudflare.zones.http_requests_overview_adaptive_groups
WHERE zone_tag = '{{ zone_tag }}' -- required
AND since = '{{ since }}' -- required
AND until = '{{ until }}' -- required
AND limit = '{{ limit }}'
;