GET usages
- 09 Sep 2024
- 1 Minute to read
- Print
- PDF
GET usages
- Updated on 09 Sep 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get Sub-Account Usage
Returns all daily utilization of Sub-Accounts.
URL (GET)
/api/v1/usages
Parameters
Key Name | Description | Required |
---|---|---|
page | List page number | |
size | List page size | |
from (yyyy-mm-dd) | Date range from year, month, day | |
to (yyyy-mm-dd) | Date range to year, month, day | |
governanceAccountId | Filter by governanceAccountId | |
controlAccountId | Filter by controlAccountId | |
subAccountId | Filter by subAccountId | |
wasabiAccountNumber | Filter by account wasabiAccountNumber | |
endTime (yyyy-mm-dd) | ||
latest (true) |
Request Body
None
Response
{
"success": true,
"message": "Successfully read!",
"data": {
"items": [
{
"id": 1821900,
"startTime": "2022-02-24",
"endTime": "2022-02-25",
"activeStorage": 0,
"deletedStorage": 0,
"storageWrote": 0,
"storageRead": 0,
"activeObjects": 0,
"deletedObjects": 0,
"egress": 0,
"ingress": 0,
"apiCalls": 0,
"subAccountId": 7676,
"subAccountName": "example@example.com",
"subAccountEmail": "example@example.com",
"controlAccountId": 17727,
"controlAccountName": "example@example.com",
"controlAccountEmail": null,
"governanceAccountId": null,
"governanceAccountName": null,
},
{
"id": 609280,
"startTime": "2021-10-30",
"endTime": "2021-10-31",
"activeStorage": 0,
"deletedStorage": 0,
"storageWrote": 0,
"storageRead": 0,
"activeObjects": 0,
"deletedObjects": 0,
"egress": 0,
"ingress": 0,
"apiCalls": 0,
"subAccountId": 7676,
"subAccountName": "example@example.com",
"subAccountEmail": example@example.com",
"controlAccountId": 17727,
"controlAccountName": "example@example.com",
"controlAccountEmail": null,
"governanceAccountId": null,
"governanceAccountName": null,
},