Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / PricedUsage

Interface: PricedUsage

Defined in: packages/core/src/l0/entries.ts:112

A priced slice, plus the total and the gaps the price table did not cover.

Properties

PropertyTypeDescriptionDefined in
pricedUsageSlice & { usd: number; }[]Covered slices with their prices; the basis of per-model attribution.packages/core/src/l0/entries.ts:116
unpricedUsageSlice[]Slices with no price row: surfaced as unpriced, never a silent zero.packages/core/src/l0/entries.ts:118
usdnumberTotal of every slice the price table covered.packages/core/src/l0/entries.ts:114