Agency Hosting: Metrics

List Agency Plan order disk usage metrics

Returns aggregated disk and inode usage for the Agency Plan order over the selected time frame, plus the plan quotas. Figures cover the whole order account. Values may be up to one hour stale. CPU, memory, and process usage are on the resource-usage-metrics endpoint.

get/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics

Path parameters

order_idinteger required
Example:123456

Agency Plan order ID

Query parameters

time_frame_days1 | 7 | 14 | 30
Example:7

Length of the window in days, ending now. Bucket size grows with the window.

Response

Success response

Example response

{
  "limits": {
    "disk_bytes": 104857600,
    "inodes": 400000
  },
  "metrics": [
    {
      "disk_bytes": 104857600,
      "inodes": 400000,
      "timestamp": 1736325738
    }
  ]
}

Changes