API reference · Schema
UsageSummary
objectstringrequiredAlways `usage_summary`: the type of this object
One of
usage_summarymonth_startstring (date-time)requiredStart of the current calendar month (UTC)
month_endstring (date-time)requiredStart of the next calendar month (UTC)
currencystringrequiredAlways `usd`
One of
usdtotalstringrequiredInteger nano-USD as a decimal string
pattern ^-?[0-9]+$
by_productarray of objectrequiredSpend per product this month, largest first
ShowHide 2 fields of
by_productproductstringrequiredcompute, inference, batch_inference, evaluations, training, storage, dedicated_endpoints or other
totalstringrequiredInteger nano-USD as a decimal string
pattern ^-?[0-9]+$
as_ofstring (date-time)requiredWhen the summary was computed
Example
{
"object": "usage_summary",
"month_start": "2026-01-01T00:00:00.000Z",
"month_end": "2026-01-01T00:00:00.000Z",
"currency": "usd",
"total": "1500000000",
"by_product": [
{
"product": "string",
"total": "1500000000"
}
],
"as_of": "2026-01-01T00:00:00.000Z"
}Used by
- The current month's spend by product
GET /v1/orgs/{org_id}/usage/summary