Get usage metrics
GET /billing/usage
GET
/billing/usage
Returns accumulated storage (GB-hours), compute time (milliseconds), and data out (GB) for the current billing period. Use to monitor consumption and anticipate billing. Values reflect usage since billing cycle start. Required role: any.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Current usage metrics
Response containing current usage metrics for the tenant.
object
compute_ms
required
Accumulated compute time in milliseconds since last billing cycle.
number format: double
data_out_gb
required
Accumulated data out in GB since last billing cycle.
number format: double
storage_gb_hours
required
Accumulated storage in GB-hours since last billing cycle.
number format: double
Unauthorized
Billing not configured
Error response for billing operations.
object
error
required
Error message.
string
Server error
Error response for billing operations.
object
error
required
Error message.
string
Billing service unavailable
Error response for billing operations.
object
error
required
Error message.
string