Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/pricing / / PricingSnapshot

Interface: PricingSnapshot

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

Stable

Single bundled snapshot.

Properties

PropertyModifierTypeDescriptionDefined in
conversion?readonly{ format: "genai-prices"; skipped: number; }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).pricing/src/types.ts:68
conversion.formatreadonly"genai-prices"-pricing/src/types.ts:69
conversion.skippedreadonlynumber-pricing/src/types.ts:70
currencyreadonly"USD"-pricing/src/types.ts:59
entriesreadonlyreadonly ModelPrice[]-pricing/src/types.ts:61
sha256readonlystring-pricing/src/types.ts:60
snapshotDatereadonlystring-pricing/src/types.ts:58
sourcereadonlystringWhere this snapshot artifact itself lives (repo file, refresh URL).pricing/src/types.ts:50
upstreamSources?readonlyreadonly string[]Original pricing authorities the numbers were transcribed from (provider pricing pages, upstream datasets), valid as of snapshotDate. Lets an external audit follow the chain artifact -> upstream without guessing.pricing/src/types.ts:57
versionreadonlystring-pricing/src/types.ts:48