Unit economics
Spend per unit of the business for a period against the previous equal window, where a unit is a sub-account (grouped by id, named by its label) or the value of a tag or virtual tag. Each unit carries its change, its share of spend in its currency, and the usage quantity in a canonical unit; costPerUnit is present only when all of the unit’s usage is in one canonical unit. Amounts are in their billing currency, one row per unit and currency. Accepts the same filters as /cost/query.
Authorizations
Enter "Bearer {token}"
Headers
Tenant ID
Query Parameters
sub_account, or tag: for a tag or virtual tag; defaults to sub_account
Maximum units returned, largest spend first; defaults to 100
Cost period; defaults to month_to_date
month_to_date, last_7d, last_30d, calendar_month, custom Closed calendar month in YYYY-MM format; required when period=calendar_month
Window start in RFC3339 format; required when period=custom
Window end in RFC3339 format; required when period=custom
Repeated key:value dimension filter, same keys and modifiers as /cost/query