v1

latestOpenAPI 3.0.42026-07-26263457588.1 KB
Statistics

Get Statistics

get/statistics

Query parameters

dateFromstring date-time nullable

(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned.

dateTostring date-time nullable

(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned.

pullZoneinteger

(Optional) If set, the statistics will be only returned for the given Pull Zone

serverZoneIdinteger

(Optional) If set, the statistics will be only returned for the given region ID

loadErrorsboolean

(Optional) If set, the respose will contain the non-2xx response

hourlyboolean

(Optional) If true, the statistics data will be returned in hourly groupping.

exactRangeboolean

(Optional) If true and hourly=true, the exact hour components of dateFrom and dateTo will be preserved instead of rounding to full-day boundaries.

loadOriginResponseTimesboolean

Load Origin Response Times

loadOriginTrafficboolean

Load Origin Traffic

loadRequestsServedboolean

Load Requests Served

loadBandwidthUsedboolean

Load Bandwidth Used

loadOriginShieldBandwidthboolean

Load Origin Shield Bandwidth

loadGeographicTrafficDistributionboolean

Load Geographic Traffic Distribution

loadUserBalanceHistoryboolean

Load User Balance History

Response

The statistics data for the passed parameters.

TotalBandwidthUsedinteger

The total bandwidth used by the response in the given time range

TotalOriginTrafficinteger

The total amount of traffic received from the origin

AverageOriginResponseTimeinteger

The median response time origin

OriginResponseTimeChartobject nullable

The constructed origin response time chart data

TotalRequestsServedinteger

The total requests served by the response in the given time range

CacheHitRatenumber double

The average cache hit rate in the response in the given time range

BandwidthUsedChartobject nullable

The constructed bandwdidth used chart data

BandwidthCachedChartobject nullable

The constructed cached bandwdidth used chart data

CacheHitRateChartobject nullable

The constructed cache hit rate chart data

RequestsServedChartobject nullable

The constructed requests served chart data

PullRequestsPulledChartobject nullable

The constructed uncached requests served chart data

OriginShieldBandwidthUsedChartobject nullable

The constructed origin shield bandwdidth used chart data

OriginShieldInternalBandwidthUsedChartobject nullable

The constructed origin shield internal bandwdidth used chart data

OriginTrafficChartobject nullable

The constructed origin traffic used chart data

UserBalanceHistoryChartobject nullable

The constructed user balance history chart data

GeoTrafficDistributionobject nullable

The geo traffic distribution data

Error3xxChartobject nullable

The constructed 3XX error responses chart data

Error4xxChartobject nullable

The constructed 4XX error responses chart data

Error5xxChartobject nullable

The constructed 5XX error responses chart data