Retrieves a zone-kpis resource.
Retrieves a zone-kpis resource.
Authorizations
Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.
JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer
Parameters
Path Parameters
Zone identifier
Query Parameters
The traffic metric to chart. Use "top" for a ranked breakdown (see dimension/limit).
"access""status-codes""image-cache""html-cache""content-type""cache-purges""blocked""top"metric=top: which column to rank. Ignored for other metrics.
"host""country""status""uri"metric=top: number of rows to return (default 8, max 100).
11008Preset time range. Ignored when from/to are provided.
"5 minutes""15 minutes""1 hour""6 hours""1 day""3 days""7 days""30 days""1 hour"Custom range start (Unix timestamp in seconds).
Custom range end (Unix timestamp in seconds).
Number of data points (buckets). Auto-calculated when omitted.
1100Only count requests for this host (host[like]=… for substring, host[neq]=… to exclude).
Only count requests with this HTTP status code (also status_code[neq]/[nin]/[gte]/[lt]/…; [nin] takes a comma-separated list).
Only count requests from this client IP address (client_ip[like]=… for substring, client_ip[nin]=… to exclude a comma-separated list).
Only count requests with this cache status, e.g. HIT, MISS or BYPASS (cache_status[nin]=… to exclude a comma-separated list).
Only count requests with this HTTP method, e.g. GET, POST or HEAD (method[nin]=… to exclude a comma-separated list).
Only count requests from this client country, as a two-letter ISO code, e.g. DE (geo_country[nin]=… to exclude a comma-separated list).
Only count requests with this User-Agent (user_agent[like]=… for a case-sensitive substring, e.g. user_agent[like]=bot).
Only count requests with this WAF rule verdict: block, challenge, throttle, skip, log or shadow.
Free-text filter: case-insensitive substring match over host, URI, client IP and request id.
Responses
zone-kpis resource
