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
| Property | Modifier | Type | Description | Defined 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.format | readonly | "genai-prices" | - | pricing/src/types.ts:69 |
conversion.skipped | readonly | number | - | pricing/src/types.ts:70 |
currency | readonly | "USD" | - | pricing/src/types.ts:59 |
entries | readonly | readonly ModelPrice[] | - | pricing/src/types.ts:61 |
sha256 | readonly | string | - | pricing/src/types.ts:60 |
snapshotDate | readonly | string | - | pricing/src/types.ts:58 |
source | readonly | string | Where this snapshot artifact itself lives (repo file, refresh URL). | pricing/src/types.ts:50 |
upstreamSources? | readonly | readonly 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 |
version | readonly | string | - | pricing/src/types.ts:48 |