Get CDN distribution metrics
Returns traffic, cache and origin metrics of the distribution for the last 24 hours, 7 days or 30 days, as the portal’s Metrics tab shows them. Requires scope: cdn.read.
Authentication
AuthorizationBearer
IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.
Path parameters
distribution_id
CDN distribution ID.
Query parameters
workspace_id
The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.
range
Time range. Default 24h.
Allowed values:
Response
Metrics returned successfully.
distribution_id
range
Allowed values:
granularity
Allowed values:
range_start
range_end
traffic
cache
points
distribution_name
generated_at
coverage_complete
origin
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error
504
Gateway Timeout Error
