Skip to main content

Function: settleTranscriptionInterval()

settleTranscriptionInterval(t, input): Promise<TranscriptionIntervalAllocation>

Defined in: packages/agentos/src/safety/runtime/TranscriptionCredit.ts:415

Allocate a cumulative report once and keep its exact interval receipt. Smaller totals, altered retries, or usage after final are errors. A new report id with an identical nonfinal total creates a zero interval. Credit freshness is required for every allocation; already committed receipts remain immutable. A final report must come from the authenticated provider lifecycle or the host's positively fenced recovery.

Parameters​

t​

CreditTransaction

input​

TranscriptionIntervalInput

Returns​

Promise<TranscriptionIntervalAllocation>

This interval's receipt; a retry of the same report answers the stored receipt.

Throws​

For an unknown or unbound reservation (invalid transcription reservation), an altered retry (report conflict), a report after final (closed), a smaller total (monotone) or a reused supplier request.