curl --request GET \
--url https://api.bunny.net/pullzone/{pullZoneId}/optimizer/statistics \
--header 'AccessKey: <api-key>'{
"TotalRequestsOptimized": 123,
"TotalTrafficSaved": 123,
"AverageProcessingTime": 123,
"AverageCompressionRatio": 123,
"RequestsOptimizedChart": {},
"AverageCompressionChart": {},
"TrafficSavedChart": {},
"AverageProcessingTimeChart": {}
}The statistics data for the passed parameters.
curl --request GET \
--url https://api.bunny.net/pullzone/{pullZoneId}/optimizer/statistics \
--header 'AccessKey: <api-key>'{
"TotalRequestsOptimized": 123,
"TotalTrafficSaved": 123,
"AverageProcessingTime": 123,
"AverageCompressionRatio": 123,
"RequestsOptimizedChart": {},
"AverageCompressionChart": {},
"TrafficSavedChart": {},
"AverageProcessingTimeChart": {}
}API Access Key authorization header
(Optional) If set, the statistics will be only returned for the given Pull Zone
(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned.
(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned.
(Optional) If true, the statistics data will be returned in hourly groupping.
The statistics data for the passed parameters.
The total number of optimized requests
The total requests saved
The average processing time of each request
The average compression ratio of CDN responses
The constructed chart of optimized requests
Show child attributes
Average compression chart of the responses
Show child attributes
The constructed chart of saved traffic
Show child attributes
The constructed chart of saved traffic
Show child attributes
Was this page helpful?