Get CDN stats timeline
Retrieve timeline statistics for a specific CDN instance
get
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
idstringRequired
CDN ID (UUID format)
Query parameters
fromstringOptional
Relative window start. Accepts offsets like '1d', '2mo', '1y' or clock values 'SS', 'MM:SS', 'HH:MM:SS' counted back from now
periodstringOptional
Aggregation period (second|minutes|hours|days|weeks|months|years); defaults to minutes
unit-timestringOptional
Unit time (optional)
timezonestringOptional
IANA timezone (e.g., Asia/Jakarta); default UTC
namesstringOptional
Comma-separated metric names (client_hit_count, client_miss_count)
Responses
200
OK
application/json
hit_percentagestringOptional
400
Bad Request
application/json
401
Unauthorized
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
get/core/cdn/v1/cdn/{id}/stats/timeline
GET /core/cdn/v1/cdn/{id}/stats/timeline HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
{
"hit_percentage": "text",
"time_line_data": [
{
"hit_total": 1,
"miss_total": 1,
"time": "text"
}
]
}Last updated