dots.v2.billing.byAccount_urn().insights.byStart_date().byEnd_date().get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.billing.byAccount_urn(account_urn).insights.byStart_date(start_date).byEnd_date(end_date).get(requestConfiguration?: RequestConfiguration<WithEnd_dateItemRequestBuilderGetQueryParameters>): Promise<undefined | WithEnd_dateGetResponse>Description
This endpoint returns day-over-day changes in billing resource usage based on nightly invoice items, including total amount, region, SKU, and description for a specified date range. It is important to note that the daily resource usage may not reflect month-end billing totals when totaled for a given month as nightly invoice item estimates do not necessarily encompass all invoicing factors for the entire month.
Parameters
Path Parameters
account_urnstring requiredExample:
do:team:12345678-1234-1234-1234-123456789012URN of the customer account, can be a team (do:team:uuid) or an organization (do:teamgroup:uuid)
start_datestring requiredExample:
2025-01-01Start date for billing insights in YYYY-MM-DD format
end_datestring requiredExample:
2025-01-31End date for billing insights in YYYY-MM-DD format. Must be within 31 days of start_date
Query Parameters
perPageinteger optionalExample:
2Number of items returned per page
pageinteger optionalExample:
1Which 'page' of paginated results to return.
Request Sample
Response Example
More Information
See /v2/billing/{account_urn}/insights/{start_date}/{end_date} in the API reference for additional detail on responses, headers, parameters, and more.