billing

Get estimated usage costs

Changed on

Return billable usage for the organization.

get/v1/billing/usage

Request

  • Base URL
    https://api.microsandbox.dev (the document declares no server; this is the origin it was published from)
  • URL
    https://api.microsandbox.dev/v1/billing/usage
  • Auth
    HTTP bearer

Response

Usage summary

period_endstring date-time required
period_startstring date-time required
projected_spend_centsinteger

End-of-period spend projection: total_cents linearly extrapolated over the billing period. Equals total_cents when the period can't be extrapolated (no future end, or zero elapsed). Never below total_cents.

snapshot_storage_gibnumber double nullable

Current managed-snapshot storage (GiB), or None when never metered.

storage_gibnumber double nullable

Current volume-storage usage (GiB), or None when never metered.

total_centsinteger required

Changes