Cost per customer
Spend per customer for a period, where a customer is a value of the tenant’s customer dimension (or of the dimension query parameter, to preview another one). Each customer carries direct spend, the shared spend it receives when the dimension is a tag key with split rules (sharedSplit says whether any applied), its total, the previous period’s total, its change, share and a daily sparkline. Totals give the customer count, average and median cost per customer and the spend no customer accounts for (unallocated), so customers plus unallocated add up to the total. trend gives cost per customer per day or month. Amounts are gross (credits left out), in the reporting currency; spend with no exchange rate is left out and listed under unconverted. Layers are never mixed. dimension is null and every list empty when no customer dimension is set. With format=csv or format=xlsx the response is a file with one row per customer, the unallocated row and a total row.
Authorizations
Enter "Bearer {token}"
Headers
Tenant ID
Query Parameters
sub_account, tag: or extension:; defaults to the tenant's customer dimension
Cost layer; defaults to billed
billed, allocation Trend bucket; defaults to day
day, month Maximum customers listed, 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
ISO 4217 code to express every amount in; defaults to the currency most of the period's spend was billed in
Repeated key:value dimension filter, same keys and modifiers as /cost/query
Response format; defaults to json
json, csv, xlsx