VocalDocscontracts 1.65.0

CostLine

One priced quantity: a stage, who is paid, the unit, how many and the amount.

An object with 8 fields.

Fields

amount_microsinteger or nullrequired
The line amount in whole micro-USD; null when unit_price_micros is null.
The lane the line was spent in (1.57.0), on a Turn of a trace whose cost_basis is usage_events. Absent from an api older than 1.57.0 and on an estimate; a reader treats its absence as speaker.
modelstring or nullrequired
The model or plan item priced; null when the price does not depend on one.
providerCostProviderrequired
quantitynumberrequired
How many units were used; minutes and audio minutes may be fractional. On a Turn, the share allocated to it.
stageCostStagerequired
unitCostUnitrequired
unit_price_microsnumber or nullrequired
The price of one unit in micro-USD, fractional for tokens; null when the price list has no price.