For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

List Agency Plan order disk usage metrics

get

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.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
order_idintegerRequired

Agency Plan order ID

Example: 123456
Query parameters
time_frame_daysinteger · enumOptional

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

Default: 1Example: 7Possible values:
Responses
200

Success response

application/json
get/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics
GET /api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "limits": {
    "disk_bytes": 104857600,
    "inodes": 400000
  },
  "metrics": [
    {
      "disk_bytes": 104857600,
      "inodes": 400000,
      "timestamp": 1736325738
    }
  ]
}

Last updated

Was this helpful?