Skip to main content

List billing summaries

GET/v1/billing/summariesTry it
View request and response examples ↓

Returns billing summary records for the authenticated organization.

Use granularity to choose the summary bucket size:

  • hour: hourly summaries
  • day or omission: daily summaries
  • month: monthly summaries

Time filters depend on granularity:

  • for hour and day, use startTime and endTime
  • for month, use startMonth and endMonth

Retention windows also depend on granularity:

  • hour: startTime must be within the most recent 6 months
  • day: startTime must be within the most recent 1 year
  • month: startMonth must be within the most recent 24 months

If both time parameters are omitted, hour and day default to the most recent 30 days. If both month parameters are omitted, month defaults to the most recent 3 months.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Query parameters

pageinteger

Page number. Defaults to 1.

Minimum1
Default1
sizeinteger

Page size. Defaults to 20. Maximum is 100. Values above 100 will be coerced to 100.

Minimum1
Maximum100
Default20

Summary bucket size. Use hour, day, or month. Defaults to day.

Allowed valueshourdaymonth
statusstring

Settlement status filter. Supported values are settled and unsettled.

Allowed valuessettledunsettled
startTimestring · date-time

Inclusive lower bound of serviceStartTime. Use only when granularity=hour or granularity=day. startTime and endTime must be provided together when either is set. For hour, startTime must be within the most recent 6 months; for day, within the most recent 1 year. RFC3339 is recommended.

Example2026-04-01T00:00:00Z
endTimestring · date-time

Exclusive upper bound of serviceStartTime. Use only when granularity=hour or granularity=day. startTime and endTime must be provided together when either is set. RFC3339 is recommended.

Example2026-04-02T00:00:00Z

Inclusive start month in YYYY-MM format. Use only when granularity=month. startMonth and endMonth must be provided together when either is set. Monthly summaries support only the most recent 24 months.

Pattern^\d{4}-\d{2}$
Example2026-02
endMonthstring

Inclusive end month in YYYY-MM format. Use only when granularity=month. startMonth and endMonth must be provided together when either is set. Monthly summaries support only the most recent 24 months. endMonth must not be in the future.

Pattern^\d{4}-\d{2}$
Example2026-04
sortOrderstring

Sort direction for the summary time buckets. Hourly and daily summaries are sorted by bucket start time. Monthly summaries are sorted by month. Supported values are asc and desc. Defaults to desc.

Allowed valuesascdesc

Filters results to billing records where the selected payment source amount is non-zero. cash means direct payment, marketplace means cloud marketplace settlement such as AWS Marketplace, voucher means promotional voucher usage, suspended means an amount pending offset or settlement, contract means contract-covered amount, and credit means account credit usage.

Allowed valuescashmarketplacevouchersuspendedcontractcredit

Response

Billing summaries returned successfully.

application/json
successbooleanrequired

Indicates whether the request succeeded.

Exampletrue
requestIdstringrequired

Request ID returned by the server for tracing.

Examplereq-20260402-001
dataobject[]required
Item fields
statusstringrequired

Settlement status. settled means the billed amount is fully settled or offset. unsettled means some amount remains unsettled.

Allowed valuessettledunsettled

Final billed amount after pricing discounts are applied, represented as a decimal string. The payment-source fields describe how this billed amount is settled or covered.

Portion of billedAmount settled directly through cash or account balance, represented as a decimal string.

Portion of billedAmount settled through a cloud marketplace channel such as AWS Marketplace, represented as a decimal string.

Portion of billedAmount covered by vouchers or promotional credits, represented as a decimal string.

Portion of billedAmount that is pending offset or settlement, represented as a decimal string.

Undiscounted amount before pricing discounts are applied, represented as a decimal string.

Portion of billedAmount covered by a contract or committed-spend agreement, represented as a decimal string.

Portion of billedAmount covered by account credit, represented as a decimal string.

monthstring

Billing month in YYYY-MM format. Returned for monthly summaries.

serviceStartTimestring · date-time

Inclusive start of the summary bucket in ISO 8601 format.

Example2026-04-01T00:00:00Z
serviceEndTimestring · date-time

End of the summary bucket in ISO 8601 format.

Example2026-04-01T01:00:00Z
pageintegerrequired
sizeintegerrequired
totalinteger · int64required
amountstringrequired

Total billedAmount across the filtered billing summary result set, after pricing discounts are applied, represented as a decimal string.

Example123.456

Enter to send · Shift+Enter for a new line