Skip to main content

Interface: SttCreditSnapshot

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:22

Supplier credit read under the host's reservation transaction. Remaining credit already excludes settled usage not yet covered by the supplier report; open reservations are stated separately and deducted once.

Properties​

checkedAtMs​

readonly checkedAtMs: number

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:28

UTC epoch milliseconds of the last successful usage check.


failedDays​

readonly failedDays: number

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:34

Consecutive distinct UTC check days with a failed read, not retry count.


remainingMicro​

readonly remainingMicro: number

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:30

Whole micro-dollars left after reconciled and locally settled usage.


reservedMicro​

readonly reservedMicro: number

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:32

Whole micro-dollars held by outstanding admissions, excluded only here.


vendor​

readonly vendor: "openai" | "elevenlabs" | "deepgram"

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:24

The only vendor funded by this snapshot.


version​

readonly version: string

Defined in: packages/agentos/src/io/voice-pipeline/LowestCostStt.ts:26

Identity of the complete vendor, amount and read-instant configuration.