GET /service/{service_id}/stats/summary
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 start_time and end_time) or a specified month/year combo (using month and year).
Authorization: Requires API token.
Servers
- https://api.fastly.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
service_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
host |
String | No |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
month |
String | No |
2-digit month. |
start_time |
String | No |
Epoch timestamp. Limits the results returned. |
year |
String | No |
4-digit year. |
end_time |
String | No |
Epoch timestamp. Limits the results returned. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.