GET Utilizations for Control and Sub-Accounts
Return the daily storage and data transfer associated with the Control account and the sub-account, across all buckets in both the Control and sub-accounts. Using from and to query string parameters (in the format YYYY-MM-DD) will apply date filters to the result set.
GET /v1/utilizations
Sample
GET /v1/utilizations
[
{
"UtilizationNum": 39247161,
"AcctNum": 693549,
"AcctPlanNum": 803221,
"StartTime": "2021-12-19T00:00:00Z",
"EndTime": "2021-12-20T00:00:00Z",
"CreateTime": "2021-12-20T02:22:41Z",
"NumBillableObjects": 3,
"NumBillableDeletedObjects": 0,
"RawStorageSizeBytes": 322122547200,
"PaddedStorageSizeBytes": 322122547200,
"MetadataStorageSizeBytes": 144,
"DeletedStorageSizeBytes": 0,
"OrphanedStorageSizeBytes": 0,
"MinStorageChargeBytes": 777389080432,
"NumAPICalls": 5,
"UploadBytes": 322122548200,
"DownloadBytes": 0,
"StorageWroteBytes": 322122547200,
"StorageReadBytes": 0,
"NumGETCalls": 0,
"NumPUTCalls": 3,
"NumDELETECalls": 0,
"NumLISTCalls": 0,
"NumHEADCalls": 0,
"DeleteBytes": 0
},
{
"UtilizationNum": 39249039,
"AcctNum": 693551,
"AcctPlanNum": 803223,
"StartTime": "2021-12-19T00:00:00Z",
"EndTime": "2021-12-20T00:00:00Z",
"CreateTime": "2021-12-20T02:22:45Z",
"NumBillableObjects": 3,
"NumBillableDeletedObjects": 0,
"RawStorageSizeBytes": 322122547200,
"PaddedStorageSizeBytes": 322122547200,
"MetadataStorageSizeBytes": 144,
"DeletedStorageSizeBytes": 0,
"OrphanedStorageSizeBytes": 0,
"MinStorageChargeBytes": 777389080432,
"NumAPICalls": 5,
"UploadBytes": 322122548200,
"DownloadBytes": 0,
"StorageWroteBytes": 322122547200,
"StorageReadBytes": 0,
"NumGETCalls": 0,
"NumPUTCalls": 3,
"NumDELETECalls": 0,
"NumLISTCalls": 0,
"NumHEADCalls": 0,
"DeleteBytes": 0
}
]
Sample with from and to Query String Parameters
GET /v1/utilizations?from=2021-12-19&to=2021-12-20
[
{
"UtilizationNum": 39247161,
"AcctNum": 693549,
"AcctPlanNum": 803221,
"StartTime": "2021-12-19T00:00:00Z",
"EndTime": "2021-12-20T00:00:00Z",
"CreateTime": "2021-12-20T02:22:41Z",
"NumBillableObjects": 3,
"NumBillableDeletedObjects": 0,
"RawStorageSizeBytes": 322122547200,
"PaddedStorageSizeBytes": 322122547200,
"MetadataStorageSizeBytes": 144,
"DeletedStorageSizeBytes": 0,
"OrphanedStorageSizeBytes": 0,
"MinStorageChargeBytes": 777389080432,
"NumAPICalls": 5,
"UploadBytes": 322122548200,
"DownloadBytes": 0,
"StorageWroteBytes": 322122547200,
"StorageReadBytes": 0,
"NumGETCalls": 0,
"NumPUTCalls": 3,
"NumDELETECalls": 0,
"NumLISTCalls": 0,
"NumHEADCalls": 0,
"DeleteBytes": 0
},
{
"UtilizationNum": 39249039,
"AcctNum": 693551,
"AcctPlanNum": 803223,
"StartTime": "2021-12-19T00:00:00Z",
"EndTime": "2021-12-20T00:00:00Z",
"CreateTime": "2021-12-20T02:22:45Z",
"NumBillableObjects": 3,
"NumBillableDeletedObjects": 0,
"RawStorageSizeBytes": 322122547200,
"PaddedStorageSizeBytes": 322122547200,
"MetadataStorageSizeBytes": 144,
"DeletedStorageSizeBytes": 0,
"OrphanedStorageSizeBytes": 0,
"MinStorageChargeBytes": 777389080432,
"NumAPICalls": 5,
"UploadBytes": 322122548200,
"DownloadBytes": 0,
"StorageWroteBytes": 322122547200,
"StorageReadBytes": 0,
"NumGETCalls": 0,
"NumPUTCalls": 3,
"NumDELETECalls": 0,
"NumLISTCalls": 0,
"NumHEADCalls": 0,
"DeleteBytes": 0
}
]
Updated over 1 year ago