Skip to main content
The update method replaces the content of a stored memory record. Use it to correct a fact, refine a preference, or reflect a change in user context.

Method signature

Parameters

Response

Returns the updated CognisMemoryRecord.

Basic usage

Async usage

To find the memory_id for a specific record, use Get Memories or Search Memories first, then pass the returned ID to update. Previous versions of the memory are retained and accessible via get() with include_historical=True.