Skip to navigation

Get billing usage spend

When authenticated with an API key, this operation requires api-read.

Authentication

AuthorizationBearer
Console user session, Mixlayer API key, or Mixlayer workload access token supplied as a Bearer token.

Path parameters

billing_account_idstringRequired
Billing account ID

Query parameters

rangeenumOptional

Reporting range: 30d, 90d, or ytd; defaults to 30d.

Allowed values:

Response

Usage spend report
dataobject
Billing usage spend for a requested date range.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error