Skip to main content
GET
/
storagezone
/
{id}
/
statistics
Get Storage Zone Statistics
curl --request GET \
  --url https://api.bunny.net/storagezone/{id}/statistics \
  --header 'AccessKey: <api-key>'
{
  "StorageUsedChart": {},
  "FileCountChart": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.bunny.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the storage zone

Query Parameters

dateFrom
string<date-time> | null

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

dateTo
string<date-time> | null

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

Response

The statistics data for the passed parameters.

StorageUsedChart
object

The constructed chart of the storage used by day

FileCountChart
object

The constructed chart of requests stored