Skip to main content

Interface: ReserveCompoundCreditInput

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:181

What reserveCompoundCredit reserves: a call's most, quoted inside the ledger from its rates and limits.

Properties​

at​

at: number

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:197


attempts​

attempts: AttemptLimits

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:194


durationSeconds​

durationSeconds: number

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:193

The call's full requested duration, whole seconds.


expiresAt​

expiresAt: number

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:199

When the hold's time is up and a reconcile asks about it.


kind​

kind: string

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:186

What is held for, such as call or meeting_run.


mediaComponent​

mediaComponent: string

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:191

The component that prices connected time.


operationId​

operationId: string

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:184

The host's id for the call or run; a hold is made once for it.


policy?​

optional policy: AllocationPolicy

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:200


rates​

rates: object

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:189

fallbacks?​

optional fallbacks: readonly RateSnapshot[]

primary​

primary: RateSnapshot


requestHash​

requestHash: string

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:188

A digest of the request the hold is for; the same operation with another digest is a conflict.


scopeId​

scopeId: string

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:182


supplierDailyCapMicro​

supplierDailyCapMicro: number

Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:196

The platform's cap on supplier cost for the UTC day of at, across every scope.