Logo
Akamai APIs API Documentation

Get asynchronous report results

GET https://{{host}}/reporting-api/v2/reports/:productFamily/:reportingArea/:report/queries/:queryId

Produces a report for an asynchronous request in either JSON or CSV format.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": [ { "edgeBytesSum": 1322, "edgeHitsSum": 10, "hostname": "example.com", "responseCode": 404 }, { "edgeBytesSum": 321, "edgeHitsSum": 1, "hostname": "origin.com", "responseCode": 404 }, { "edgeBytesSum": 4331, "edgeHitsSum": 122, "hostname": "custom.com", "responseCode": 200 } ], "metadata": { "evictionTime": "2024-04-03T13:40:58Z", "links": [ { "allow": [ "GET" ], "href": "/reporting-api/v2/reports/delivery/traffic/current/queries/.kRGhlJDQv5gD34L8J+bfDLmmm6tIipFMHeve7o2udsr1mxoqQ6yHbaNjw43lIyzGX0Pko3ZcsSdFU4iEvETAogoL2ijtS3D385hhKIeQ9fOlgLixkCg9em001KtQIkI3JUCX5RxxkfK3iqBNai0988XYgPEUSpQt69D5gedOjrDMch4Vy.WRpOMQEXqURxrkXSOFVVIw0yDM62VJ8sRG3fsADRpYvpnsOeFz5Eko6lHH0TqzadAXFJEHQzS25Gu", "rel": "first" }, { "allow": [ "GET" ], "href": "/reporting-api/v2/reports/delivery/traffic/current/queries/.kRGhlJDQv5gD34L8J+bfDLmmm6tIipFMHeve7o2udsr1mxoqQ6yHbaNjw43lIyzGX0Pko3ZcsSdFU4iEvETAogoL2ijtS3D385hhKIeQ9fOlgLixkCg9em001KtQIkI3JUCX5RxxkfK3iqBNai0988XYgPEUSpQt69D5gedOjrDMch4Vy.WRpOMQEXqURxrkXSOFVVIw0yDM62VJ8sRG3fsADRpYvpnsOeFz5Eko6lHH0TqzadAXFJEHQzS25Gu", "rel": "self" }, { "allow": [ "GET" ], "href": "/reporting-api/v2/reports/delivery/traffic/current/queries/.kRGhlJDQv5gD34L8J+bfG++AQaipJ5zBKgT83AhMgEuUKZvnyG9nLz2eqMUAEVD7.lrvyrvOtUwIy9kCBd4Uw8sJKf+qhYKz3BxEZ8pNl9yqtfGreMCWmIOA3n5fKcxRP07cNb7iO5nC98cygroJk+2If7YG8MjWZ4jOMjPLsOUhIB4xeSjvkvTaNDGKhoXoO+K3BYFqSNrPxX37vbI7tFA6av4tWBoXwn4EGTa0GzenqGlx5m4FDcIxi2t2IOU", "rel": "next" }, { "allow": [ "GET" ], "href": "/reporting-api/v2/reports/delivery/traffic/current/queries/.kRGhlJDQv5gD34L8J+bfDLmmm6tIipFMHeve7o2udsr1mxoqQ6yHbaNjw43lIyzGX0Pko3ZcsSdFU4iEvETAogoL2ijtS3D385hhKIeQ9fOlgLixkCg9em001KtQIkI3JUCX5RxxkfK3iqBNai0988XYgPEUSpQt69D5gedOjrDMch4Vy.WRpOMQEXqURxrkXSOFVVIw0yDM62VJ8sRG3fsADRpYvpnsOeFz5Eko6lHH0TqzadAXFJEHQzS25Gu", "rel": "last" } ], "name": "CDN traffic report data", "requestTime": "2024-03-27T13:39:05.041Z", "rows": 3, "totalRows": 44 } }

Curl
curl -X GET 'https://host/reporting-api/v2/reports/:productFamily/:reportingArea/:report/queries/:queryId?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS