Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/pricing / / PricingSnapshot

Interface: PricingSnapshot

Defined in: packages/pricing/src/types.ts:47

Single bundled snapshot.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
conversion?readonly{ format: "genai-prices"; skipped: number; }W-097: present when refreshPricing converted a foreign dataset (today: @pydantic/genai-prices) instead of consuming the native shape. skipped counts model entries the supported subset could not represent (tiered / conditional pricing).packages/pricing/src/types.ts:60
conversion.formatreadonly"genai-prices"-packages/pricing/src/types.ts:61
conversion.skippedreadonlynumber-packages/pricing/src/types.ts:62
currencyreadonly"USD"-packages/pricing/src/types.ts:51
entriesreadonlyreadonly ModelPrice[]-packages/pricing/src/types.ts:53
sha256readonlystring-packages/pricing/src/types.ts:52
snapshotDatereadonlystring-packages/pricing/src/types.ts:50
sourcereadonlystring-packages/pricing/src/types.ts:49
versionreadonlystring-packages/pricing/src/types.ts:48