Logo
Akamai APIs API Documentation

Get compute usage summary per contract and compute customer

GET https://{{host}}/billing/v1/contracts/:contractId/compute-customers/:computeCustomerId/usage/monthly-summary

Returns the near real-time compute usage summary of the specified contract and compute customer, for the current month. Compute usage data is available with a latency of up to two hours. The response shows a number of unbilled hours or GBs, while your final bill also includes the monthly capping. Note that your final bill also includes overages for transfer and object storage, computed towards the end of the month.

 

Body PARAM

Key Datatype Required Description 
page
string (Optional) Specifies an offset into the results. Use in conjunction with `size`. The page number offset is 1-based.
size
string (Optional) Specifies the number of results per page. Use in conjunction with `page`.
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-CCT1234", "computeCustomerId": 123456, "contractId": "C-0N7RAC7", "metadata": { "pageNumber": 1, "pageSize": 1000, "totalElements": 2, "totalPages": 1 }, "usagePeriods": [ { "month": "2024-03", "usageProducts": [ { "end": "2024-03-21", "month": "2024-03", "productId": "1-ABC012", "productName": "Object S
Curl
curl -X GET 'https://host/billing/v1/contracts/:contractId/compute-customers/:computeCustomerId/usage/monthly-summary?page=&size=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS