Showback by tag
Spend per value of one tag or virtual-tag key with shared costs split by the key’s split rules: direct spend, the shared spend each value receives (negative on a shared pool, whose spend moves to its targets), their total, the previous period’s total and the change. Each day uses the newest rule that has started by that day; the previous period is split under the rules in force on the last day of the selected period, so the change reflects spend rather than a rule change. Spend with no value for the key is reported as unallocated. Amounts are gross (credits and refunds left out), in the reporting currency, rounded to the cent so values add up exactly to the totals. Spend in a currency with no exchange rate is left out and listed under unconverted. Showback figures are recomputed on every read, so a closed month can still change when its bill is restated. With format=csv or format=xlsx the response is a file with one row per value, the unallocated row and a total row.
Authorizations
Enter "Bearer {token}"
Headers
Tenant ID
Query Parameters
Tag or virtual-tag key to show back by
Cost layer; defaults to billed. allocation splits Kubernetes clusters into namespaces and workloads; the two are never mixed
billed, allocation 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, the same vocabulary as the cost query filter
Response format; defaults to json
json, csv, xlsx