Get Usages

Prev Next
Get
/v1/usages

The “Get Usages” method is used to read all utilization records from WACM. The purpose of “Get Usages” is to allow users to list all the utilization records of their accounts and filter them by using the supported query parameters.

Limitations include: A Sub-Account cannot read its own usages, only the parent account users have access to perform this action.

Security
HTTP
Type basic
Query parameters
page
integer
Example1
size
integer
Example2
governanceAccountId
integer
Example3432
controlAccountId
integer
Example13337
subAccountId
integer
Example234
latest
boolean
Exampletrue
from
string (date)
Example2024-01-03
to
string (date)
Example2024-05-05
wasabiAccountNumber
integer
Example454353
Responses
200

OK

string
Example{ "id": 1234567, "startTime": "2023-08-07", "endTime": "2023-08-08", "activeStorage": 0, "deletedStorage": 0, "storageWrote": 0, "storageRead": 0, "activeObjects": 0, "deletedObjects": 0, "egress": 0, "ingress": 0, "apiCalls": 0, "subAccountId": 12345, "subAccountName": "", "subAccountEmail": "", "channelAccountId": null, "channelAccountName": null, "channelAccountEmail": null, "controlAccountId": 6789, "controlAccountName": "", "controlAccountEmail": "", "governanceAccountId": null, "governanceAccountName": null, "wasabiAccountNumber": 676040 }