Get stats for a service
GET {{fastly_url}}/service/{{service_id}}/stats/summary?end_time&month&start_time&year
Get the stats from a service for a block of time. This lists all stats by PoP location, starting with AMS. This call requires parameters to select block of time to query. Use either a timestamp range (using starttime and endtime) or a specified month/year combo (using month and year).
Authorization: Requires API token.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
end_time | null | Epoch timestamp. Limits the results returned. | |
month | null | 2-digit month. | |
start_time | null | Epoch timestamp. Limits the results returned. | |
year | null | 4-digit year. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Host | string | ||
Accept | string |