v1

latestOpenAPI 3.0.42026-07-26263457588.1 KB
Edge Script

Get Edge Script Statistics

get/compute/script/{id}/statistics

Path parameters

idinteger required

The ID of the Edge Script for which the statistics will be returned

Query parameters

dateFromstring date-time nullable

(Optional) The start date of the statistics. If no value is passed, the last 30 days will be returned

dateTostring date-time nullable

(Optional) The end date of the statistics. If no value is passed, the last 30 days will be returned

loadLatestboolean

(Optional) Load most recent data as soon as it's available

hourlyboolean

(Optional) If true, the statistics data will be returned in hourly groupping.

Response

Returns the statistics for the Edge Script with the given ID

TotalRequestsServedinteger
TotalCpuUsednumber double
TotalMonthlyCostnumber
AverageCpuTimePerExecutionnumber double
RequestsServedChartobject nullable
AverageCpuTimeChartobject nullable
TotalCpuTimeChartobject nullable