Skip to Content
Anuma SDKReactInternalFunctionsgetAllVaultMemoriesOp()

getAllVaultMemoriesOp()

getAllVaultMemoriesOp(ctx: VaultMemoryOperationsContext, options?: object): Promise<StoredVaultMemory[]>

Defined in: src/lib/db/memoryVault/operations.ts:625 

Parameters

ParameterTypeDescription

ctx

VaultMemoryOperationsContext

‐

options?

object

‐

options.excludeDisabled?

boolean

Leave out memories the user switched off.

options.factTypes?

string[]

Typed memory (PR1) — restrict to these fact types. Omit for no filter.

options.folderId?

string | null

‐

options.includeArchived?

boolean

Include archived (decayed) memories. Default false (PR1 choke point).

options.includeDeleted?

boolean

Include soft-deleted memories in the result (each carries isDeleted: true). Default false — deleted rows are excluded, as they are from every other read path. Used by the Memory Graph to render “forgotten” nodes; ordinary consumers should leave this off.

options.includeQuarantined?

boolean

Include quarantined memories. Default false (PR1 choke point).

options.includeSuperseded?

boolean

Include A2-superseded memories (each carries supersededBy). Default false — superseded rows are excluded, as they are from recall/dedup. Used by a “memory history” view to render retired facts.

options.kinds?

string[]

Restrict to these profile kinds.

options.levels?

("private" | "matching" | "profile")[]

Filter by level.

options.limit?

number

‐

options.memoryIds?

string[]

‐

options.scopes?

string[]

‐

options.since?

Date

‐

options.visibility?

VaultMemoryVisibility[]

Filter by People Nearby visibility. Legacy rows with a NULL column count as “private”. Used by the publish reconciler to fetch the published set to diff against the server index.

options.withEmbeddings?

boolean

‐

Returns

Promise<StoredVaultMemory[]>

Deprecated

App code: use MemoryStore.list (createLocalMemoryStore).

Last updated on