Interface SttCreditSnapshot

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.

interface SttCreditSnapshot {
    vendor: "openai" | "elevenlabs" | "deepgram";
    version: string;
    checkedAtMs: number;
    remainingMicro: number;
    reservedMicro: number;
    failedDays: number;
}

Properties

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

The only vendor funded by this snapshot.

version: string

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

checkedAtMs: number

UTC epoch milliseconds of the last successful usage check.

remainingMicro: number

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

reservedMicro: number

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

failedDays: number

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