Interface: VocabularySourceProposalOptions
@kortexya/reasoninglayer / VocabularySourceProposalOptions
Interface: VocabularySourceProposalOptions
Section titled “Interface: VocabularySourceProposalOptions”Defined in: src/types/vocabulary.ts:8790
Per-call options for source proposals; revising a candidate requires ifMatch.
Extends
Section titled “Extends”Properties
Section titled “Properties”authenticatedUser?
Section titled “authenticatedUser?”
optionalauthenticatedUser?:string
Defined in: src/types/common.ts:102
Override the attested user for this request (X-Authenticated-User
header), as user:<uuid>. Defaults to ClientConfig.authenticatedUser.
Remarks
Section titled “Remarks”The engine reads this header as the gateway-authenticated principal.
An OSFQL AWAIT needs it (reasoninglayer#1256): the demon is
registered as this user and fires with that user’s grants; a request
without one is refused with refusal.code
program_registrant_not_actor. Set it only where the deployment’s
gateway does not set it for you, for example a trusted server that acts
for several users.
Inherited from
Section titled “Inherited from”VocabularyMutationOptions.authenticatedUser
cacheControl?
Section titled “cacheControl?”
optionalcacheControl?:"no-cache"|"no-store"
Defined in: src/types/common.ts:84
Forward Cache-Control to ReasoningLayer. Both values bypass conversation answer-cache lookup and population.
Inherited from
Section titled “Inherited from”VocabularyMutationOptions.cacheControl
causal?
Section titled “causal?”
optionalcausal?:AuditCausalHeaders
Defined in: src/types/common.ts:116
Causal assertions for the audit ledger, sent as the x-reasoninglayer-* request
headers. See AuditCausalHeaders.
Inherited from
Section titled “Inherited from”VocabularyMutationOptions.causal
idempotencyKey
Section titled “idempotencyKey”idempotencyKey:
string
Defined in: src/types/vocabulary.ts:748
The Idempotency-Key header.
Inherited from
Section titled “Inherited from”VocabularyMutationOptions.idempotencyKey
ifMatch?
Section titled “ifMatch?”
optionalifMatch?:string
Defined in: src/types/vocabulary.ts:8792
Existing candidate head revision, required when candidateId is supplied.
namespaceId?
Section titled “namespaceId?”
optionalnamespaceId?:string
Defined in: src/types/common.ts:86
Override the namespace for this request (X-Namespace-Id header).
Inherited from
Section titled “Inherited from”VocabularyMutationOptions.namespaceId
retries?
Section titled “retries?”
optionalretries?:number
Defined in: src/types/common.ts:111
Number of retry attempts for this request. Set to 0 to disable retries.
Inherited from
Section titled “Inherited from”VocabularyMutationOptions.retries
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: src/types/common.ts:104
AbortSignal for request cancellation.
Inherited from
Section titled “Inherited from”VocabularyMutationOptions.signal
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: src/types/common.ts:109
Per-call timeout in milliseconds. Overrides the client-level timeoutMs default.
0 disables the client deadline for this call; a negative or non-finite value is refused.
Inherited from
Section titled “Inherited from”VocabularyMutationOptions.timeoutMs
userId?
Section titled “userId?”
optionaluserId?:string
Defined in: src/types/common.ts:88
Override the user ID for this request (X-User-Id header). Used for admin impersonation.