Skip to main content

Interface: SpendBudgetSettlement

Defined in: packages/agentos/src/api/runtime/spendBudget.ts:113

The reservation a finished call settles.

Properties​

operationId​

operationId: string

Defined in: packages/agentos/src/api/runtime/spendBudget.ts:115

The id the call was reserved under.


outcome?​

optional outcome: "consumed" | "released"

Defined in: packages/agentos/src/api/runtime/spendBudget.ts:120

'consumed' (the default) takes what the call cost and frees the rest; a call whose cost is not known takes its whole reservation. 'released' frees it all, for a call that failed before any output and was billed nothing.