Rulvar API reference / @rulvar/core / QuotaReservationRequest
Interface: QuotaReservationRequest
Defined in: packages/core/src/l0/spi/quota.ts:57
One admission request, dimensioned for tenant/model/provider rules.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
estimate | QuotaEstimate | - | packages/core/src/l0/spi/quota.ts:87 |
model | string | The serving model, re-reserved per failover target. | packages/core/src/l0/spi/quota.ts:64 |
provider | string | The adapter id (the left segment of ModelRef), matching the keys of concurrency.perProvider. | packages/core/src/l0/spi/quota.ts:62 |
runId? | string | The run paying for the attempt; observability only. | packages/core/src/l0/spi/quota.ts:86 |
scope? | { account?: string; legalDomain?: string; project?: string; providerAccount?: string; region?: string; sponsor?: string; tenant?: string; } | The run's execution scope dimensions (RV4205), stamped by the ctx completion so dimension-pinned QuotaRules can match them; absent on unscoped runs, byte identical to before the field. | packages/core/src/l0/spi/quota.ts:76 |
scope.account? | string | - | packages/core/src/l0/spi/quota.ts:78 |
scope.legalDomain? | string | - | packages/core/src/l0/spi/quota.ts:80 |
scope.project? | string | - | packages/core/src/l0/spi/quota.ts:79 |
scope.providerAccount? | string | - | packages/core/src/l0/spi/quota.ts:82 |
scope.region? | string | - | packages/core/src/l0/spi/quota.ts:81 |
scope.sponsor? | string | - | packages/core/src/l0/spi/quota.ts:83 |
scope.tenant? | string | - | packages/core/src/l0/spi/quota.ts:77 |
tenant? | string | The tenant of the reservation: the engine's configured tenant, or the run scope's under quota.tenantFrom: 'scope' (RV4205); absent when neither names one. | packages/core/src/l0/spi/quota.ts:70 |