GET /v2/billing/{account_urn}/insights/{start_date}/{end_date}

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.

Servers

Path parameters

Name Type Required Description
account_urn String Yes

URN of the customer account, can be a team (do:team:uuid) or an organization (do:teamgroup:uuid)

start_date String Yes

Start date for billing insights in YYYY-MM-DD format

end_date String Yes

End date for billing insights in YYYY-MM-DD format. Must be within 31 days of start_date

Query parameters

Name Type Required Description
page Integer No

Which 'page' of paginated results to return.

Default value: 1

per_page Integer No

Number of items returned per page

Default value: 20

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.