Billing

Get rated usage

Changed on

Estimate gross USD consumption value and net usage cost for eight non-AI products from corrected observed ledger quantities. Every period uses the current effective commercial plan prices and recurring allowances on the current billing schedule. Omit dates for its current cycle; without a current plan the UTC month is native-only. This read-only simulation excludes promotional first-cycle bonuses, subscription fees, taxes, AI tokens, and operational activity; it never recalculates or represents historical invoices and never converts credit prices to USD.

get/billing/usage/rated

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/billing/usage/rated
  • Auth: none declared

Query parameters

cycleStartsAtstring date-time
occurredAtFromstring date-time
occurredAtBeforestring date-time
bucketMinutesnumber required
bucketOriginStartsAtstring date-time
organizationIdstring

Response

OK

calculationBasis'current_plan' required

Read-only estimate using current effective commercial prices and recurring allowances for every period; never actual historical billed amounts.

currency'USD' required
totalValueCentsstring nullable required

Estimated decimal USD cents under the current effective plan; null without supported current USD terms. Credits are never converted to dollars.

totalChargeCentsstring nullable required

Estimated decimal USD cents under the current effective plan; null without supported current USD terms. Credits are never converted to dollars.

Changes