Logo
Akamai APIs API Documentation

List cumulative daily usage per reporting group

GET https://{{host}}/billing/v1/reporting-groups/:reportingGroupId/products/:productId/usage/daily?month={{month}}

Returns cumulative daily usage details of the specified reporting group and product for the selected month. If you have products that are billed geographically, you can see monthly usage statistics by region.

 

Body PARAM

Key Datatype Required Description 
month
string (Required) Selected billable usage period, expressed as an ISO 8601 datestamp (YYYY-MM).
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

{ "accountId": "A-CCT3456", "contractId": "K-0N7RAK7", "cpCodes": [ 1234567, 1234567, 13243546, 7563521 ], "dataStatus": "DATA_FINALIZED", "month": "2020-07", "productId": "1-ABC012", "productName": "Web Application Accelerator", "reportingGroupId": 782312, "reportingGroupName": "RG #782312", "requestDate": "2020-10-15T00:00:00Z", "usagePeriods": [ { "end": "2020-07-31", "month": "2020-07", "region": "GLOBAL", "start": "2020-07-01", "stats": [ { "statType": "Total MB", "unit": "GB", "values": [ { "date": "2020-07-01", "value": 30.3 }, { "date": "2020-07-02", "value": 32.3 }, { "date": "2020-07-03", "value": 35.3 }, { "date": "2020-07-04", "value": 36.3 }, { "date": "2020-07-05", "value": 37.3 }, { "date": "2020-07-06", "value": 38.3 }, { "date": "2020-07-07", "value": 39.3 }, { "date": "2020-07-08",
Curl
curl -X GET 'https://host/billing/v1/reporting-groups/:reportingGroupId/products/:productId/usage/daily?month=?month=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS