sites

Site Usage Report

Get the usage details for a given site. Storage values in the *_storage_usage_in_gigabytes fields are binary gibibytes (GiB, 1024³ bytes); the field names are kept for compatibility.

get/sites/{id}/reports/usage

Request

Path parameters

idinteger required

Response

Successful Response

messagestring
dataobject[]

Example response

{
  "message": "Success",
  "data": [
    {
      "billing_cycle": {
        "end_date": "2024-02-11T00:35:48.000Z",
        "start_date": "2024-01-11T00:35:48.000Z",
        "total_daily_average_storage_usage_in_gigabytes": 200,
        "total_unique_visits": 1000,
        "site": {
          "id": 1,
          "name": "my-presssable-net",
          "url": "https://my-presssable-net.mystagingwebsite.com",
          "daily_average_visits": 100,
          "daily_average_storage_usage_in_gigabytes": 9.054
        }
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.