CubePathDOCS
CDN

Get Origin Servers

get/cdn/zones/{zone_uuid}/metrics/origin-servers

Get one line per origin server with its health and what it did for the CDN in the window: attempts and their share, failures, status classes and response times. The origins of the zone that got no attempt are listed too, with zeros. The window is at most 4320 minutes.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Path parameters

zone_uuid*string

Query parameters

minutes?integer
Default60
limit?integer
Default50

Responses

Successful Response

application/json

zone_uuid*string
domain*string
period_minutes*integer
data*array<CDNOriginServerItem>
Properties (21)
server*string
origin_uuid?string | null
origin_name?string | null
enabled?boolean | null
is_backup?boolean | null
priority?integer | null
weight?integer | null
health_status?string | null
health_detail?string | null
health_changed_at?string | null
origin_requests*integer
share_pct*number
failed*integer
status_4xx*integer
status_5xx*integer
error_rate*number
bytes_from_origin*integer
response_time_p50_ms?number | null
response_time_p95_ms?number | null
total_time_p95_ms?number | null
last_seen?string | null