---
title: "List order resource usage metrics"
method: GET
path: "/api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics"
tags: ["Agency Hosting: Metrics"]
---

# List order resource usage metrics

`GET /api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics`

Returns aggregated CPU, memory, and process usage for the Agency Plan order
over the selected time frame, plus the plan quotas and a per-website
breakdown. Each website is identified by uid. Suspended and deleted websites
are excluded from both the order totals and the per-website breakdown.
Values may be up to one hour stale. Disk and inode usage are on the
disk-usage-metrics endpoint.

## Path parameters

- `order_id` integer, required

## Query parameters

- `time_frame_hours` 1 | 24 | 168 | 336 | 720

## Response `200`

Success response

- AgencyHostingV1OrdersResourceUsageMetricsMetricsResource
  - `limits` AgencyHostingV1OrdersResourceUsageMetricsLimitsResource
    - `memory_bytes` integer — Memory usage quota in bytes
    - `cpu_percent` integer — CPU usage quota in percent
    - `processes` integer — Process usage quota
  - `metrics` AgencyHostingV1OrdersResourceUsageMetricsMetricResource[] — Array of [`AgencyHosting.V1.Orders.ResourceUsageMetrics.MetricResource`](#model/agencyhostingv1ordersresourceusagemetricsmetricresource)
    - `cpu_percent` number, float — CPU usage percentage at this sample
    - `memory_bytes` integer — Memory usage in bytes at this sample
    - `processes` integer — Number of processes at this sample
    - `timestamp` integer — Unix timestamp of the sample
  - `websites` AgencyHostingV1OrdersResourceUsageMetricsWebsiteResource[] — Array of [`AgencyHosting.V1.Orders.ResourceUsageMetrics.WebsiteResource`](#model/agencyhostingv1ordersresourceusagemetricswebsiteresource)
    - `uid` string — Website UID
    - `domains` string[] — Domains associated with the website
    - `metrics` AgencyHostingV1OrdersResourceUsageMetricsMetricResource[] — Array of [`AgencyHosting.V1.Orders.ResourceUsageMetrics.MetricResource`](#model/agencyhostingv1ordersresourceusagemetricsmetricresource)
      - `cpu_percent` number, float — CPU usage percentage at this sample
      - `memory_bytes` integer — Memory usage in bytes at this sample
      - `processes` integer — Number of processes at this sample
      - `timestamp` integer — Unix timestamp of the sample

## Other responses

- `401` — Unauthenticated response
- `422` — Validation error response
- `500` — Error response

## Changes

- **2026-08-17** `30deeb9d1e3b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/agency-hosting/v1/orders/:order_id/resource-usage-metrics/get.md)

---

[API](https://skmtc.dev/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.dev/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/25261642663e/schema)
