Interface: RememberRequest
@kortexya/reasoninglayer / RememberRequest
Interface: RememberRequest
Section titled “Interface: RememberRequest”Defined in: src/types/memory.ts:187
Request to store a memory.
Remarks
Section titled “Remarks”The engine refuses an unknown body key with 422.
Extends
Section titled “Extends”Properties
Section titled “Properties”contentPolicy?
Section titled “contentPolicy?”
optionalcontentPolicy?:MemoryContentPolicy
Defined in: src/types/memory.ts:216
The policy that screens the text. Defaults to general.
details?
Section titled “details?”
optionaldetails?:string|null
Defined in: src/types/memory.ts:214
Longer content, returned by a recall that asks for details.
embed?
Section titled “embed?”
optionalembed?:boolean
Defined in: src/types/memory.ts:223
Embed the memory for dense recall when the engine has an embedding model.
optionalfact?:MemoryFact|null
Defined in: src/types/memory.ts:221
The fact the memory asserts, when it states one feature of one entity. It is reconciled with the facts recorded for the same subject and attribute.
importance?
Section titled “importance?”
optionalimportance?:number|null
Defined in: src/types/memory.ts:201
Importance in 0.0..=1.0. Defaults to 0.5. Stored exactly as sent and
returned unchanged by recall. When the write merges into an existing memory
(outcome updated), this value replaces that memory’s importance. A value
outside the range, or a non-finite one, is refused with 400. Not allowed
with reinforce.
optionalkind?:string|null
Defined in: src/types/memory.ts:212
The memory kind: decision, error_fix, discovery, procedure,
preference or pattern. Defaults to discovery; another name is 400.
ledgerCommitment?
Section titled “ledgerCommitment?”
optionalledgerCommitment?:string|null
Defined in: src/types/memory.ts:229
That scope’s seal commitment (64-hex SHA-256).
ledgerScope?
Section titled “ledgerScope?”
optionalledgerScope?:string|null
Defined in: src/types/memory.ts:227
The audit-ledger scope (UUID) the memory was lifted from.
personal?
Section titled “personal?”
optionalpersonal?:boolean
Defined in: src/types/memory.ts:36
The caller’s own memory instead of the tenant’s.
Inherited from
Section titled “Inherited from”projectId?
Section titled “projectId?”
optionalprojectId?:string|null
Defined in: src/types/memory.ts:38
A project inside the tenant the caller can see.
Inherited from
Section titled “Inherited from”reinforce?
Section titled “reinforce?”
optionalreinforce?:boolean
Defined in: src/types/memory.ts:207
State no importance: a new memory starts at the default, a merge into a
similar memory raises its importance, and an exact duplicate changes
nothing. With importance: 400.
source?
Section titled “source?”
optionalsource?:string|null
Defined in: src/types/memory.ts:231
Optional source identifier; the engine appends it as a src:<source> tag.
summary
Section titled “summary”summary:
string
Defined in: src/types/memory.ts:193
The memory text to store. Must not be empty or whitespace, and the memory
policy caps it at 500 characters; the engine refuses either with 400 and
stores nothing.
optionaltags?:string[]
Defined in: src/types/memory.ts:236
Tags used for activation-based retrieval. Encode kind and source here, for
example ["prompt", "name:standup-template"].
triggers?
Section titled “triggers?”
optionaltriggers?:string[]
Defined in: src/types/memory.ts:225
Future contexts that surface this memory in a recall (marker TRIGGERED).