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 its usage quantity in a canonical unit of measure. costPerUnit is all of the unit’s spend divided by that quantity; measuredCost is the part of the spend that is usage measured in that unit. With usage_unit only usage in that unit counts toward the quantity, so a unit with mixed units of measure still has a cost per unit; without it costPerUnit is present only when all of the unit’s usage is in one canonical unit. previousCostPerUnit and costPerUnitChangePct compare against the previous window, and sort=cost_per_unit_change lists the units whose cost per unit moved most, largest move first. anomalyIds are the active anomalies on the unit’s resources (or on the sub-account itself). usageUnits lists the units of measure the period’s usage is in, and tagKeys the virtual tags that carry a value on spend in this period or the previous one, so a unit picker offers only tags that split it. Amounts are in their billing currency, one row per unit and currency. Accepts the same filters as /cost/query.