VocalDocscontracts 1.65.0

VendorPrice

One vendor list price row (1.38.0): a Provider, stage, model and unit with its price, the instant it takes effect, its derived end and state, its source and who entered it. A list price, never a bill. Rows are insert-only: a wrong figure is corrected by a later row, and the wrong one stays in the history.

An object with 21 fields.

Fields

FieldTypeRequiredDescription
chargePriceChargeyes
currency"USD"yes
effective_fromTimestampyesThe instant, in UTC, from which the row is in force for its key. Never before the instant it was entered, except for a row migrated from the price list.
effective_untilTimestamp or nullyesDerived, never stored: the effective_from of the next later row of the same key, so the row is in force before that instant; null while no later row exists and on a replaced row.
entered_atTimestampyesThe instant of the transaction that wrote the row.
entered_byActorRefyesWho entered the row: the Member, or an operator actor for the command add_price and for a migration.
idVendorPriceIdyes
modelstring or nullyesThe model priced: the language or recognizer model, or the model a voice is spoken with, never the voice. Null only on telephony and platform, where a row prices a carrier item or a platform unit.
notestring or nullyes
object"vendor_price"yes
originVendorPriceOriginyes
planstring or nullyesThe vendor's plan or tier the price belongs to; null when it has none.
providerCostProvideryes
regionstring or nullyesThe region the price applies to, as the vendor names it; null when it has none.
sourceDescriptorSourceyesThe vendor page the price was read from, and the date it was read.
source_figurestring or nullyesThe figure as the source states it, such as a price per million tokens; null on a row migrated without one.
stageCostStageyes
stateVendorPriceStateyes
unitCostUnityes
unit_price_microsnumberyesThe list price of one unit in micro-USD, fractional for tokens: above 0 on a vendor row, 0 on a none row. A quote in another currency or per second is converted, and note states the conversion.
verifiedbooleanyesTrue only when the price was read from source on its read_at.