Get Usages

Prev Next
Get
/v1/usages

Read sub-account usages within the permissions of the user.

Security
HTTP
Type basic

HTTP Basic Authentication using your WACM username and API key.

For detailed authentication instructions, see the Authentication Guide.

Query parameters
page
integer

Page number

size
integer

Number of items per page

governanceAccountId
integer

Filter by Governance Account ID

controlAccountId
integer

Filter by Control Account ID

subAccountId
integer

Filter by Sub-Account ID

latest
boolean

Retrieve only the latest usage

from
string (date)

Start date (YYYY-MM-DD)

to
string (date)

End date (YYYY-MM-DD)

wasabiAccountNumber
integer

Filter by Wasabi account number

Responses
200

Successfully retrieved usages

{
  "success": "True",
  "data": {
    "items": [
      {
        "id": "123457",
        "subAccountId": "54321",
        "subAccountName": "Sample Sub-Account",
        "wasabiAccountNumber": "100123456",
        "controlAccountId": "13337",
        "controlAccountName": "Sample Control Account",
        "governanceAccountId": "3214",
        "governanceAccountName": "Sample Governance",
        "utilizationDate": "2024-01-15",
        "activeStorage": "1.234567",
        "deletedStorage": "0.012345",
        "totalBillableStorage": "1.246912",
        "egress": "0.5",
        "ingress": "2026-01-02T00:00:00Z",
        "apiCalls": "150000"
      }
    ],
    "page": "1",
    "size": "20",
    "total": "1"
  }
}
Expand All
object
success
boolean
data
object
items
Array of object (UsageResponse)
object
id
integer
subAccountId
integer
subAccountName
string
wasabiAccountNumber
integer
controlAccountId
integer
controlAccountName
string
governanceAccountId
integer
governanceAccountName
string
utilizationDate
string (date)
activeStorage
number
deletedStorage
number
totalBillableStorage
number
egress
number
ingress
number
apiCalls
integer
page
integer
size
integer
total
integer