v4

Swagger 2.02026-08-0343714211.7 MB
site
Usage Snapshots

Get the most recent usage snapshot (usage data for billing purposes) for a Site.

Get the most recent usage snapshot (usage data for billing purposes) for a Site.

get/site/usage

Response

The Site object.

idinteger

Usage snapshot ID

start_atstring date-time

Usage snapshot start date/time

end_atstring date-time

Usage snapshot end date/time

high_water_user_countinteger

Highest user count number in time period

current_storageinteger

Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)

high_water_storageinteger

Highest Storage Usage GB recorded in time period (used for billing)

root_storageinteger

Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)

deleted_files_counted_in_minimuminteger

Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)

deleted_files_storageinteger

Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)

total_billable_usageinteger

Storage + Transfer Usage - Total Billable amount

total_billable_transfer_usageinteger

Transfer usage for period - Total Billable amount

bytes_sentinteger

Transfer Usage for period - Outbound GB from Files Native Storage

sync_bytes_receivedinteger

Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)

sync_bytes_sentinteger

Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)

Example response

{
  "id": 1,
  "start_at": "2000-01-01T01:00:00Z",
  "end_at": "2000-01-01T01:00:00Z",
  "high_water_user_count": 1,
  "current_storage": 1,
  "high_water_storage": 1,
  "root_storage": 1,
  "deleted_files_counted_in_minimum": 1,
  "deleted_files_storage": 1,
  "total_billable_usage": 1,
  "total_billable_transfer_usage": 1,
  "bytes_sent": 1,
  "sync_bytes_received": 1,
  "sync_bytes_sent": 1,
  "usage_by_top_level_dir": [
    {
      "dir": "dir",
      "size": 100,
      "count": 10
    }
  ]
}