Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / PricedUsage

Interface: PricedUsage

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

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:250
unpricedUsageSlice[]Slices with no price row: surfaced as unpriced, never a silent zero.packages/core/src/l0/entries.ts:252
usdnumberTotal of every slice the price table covered.packages/core/src/l0/entries.ts:248