Mem0 icon

Mem0

Interact with the Mem0 API - intelligent memory layer for AI

Memory → Update

AI-generated

Summary

Updates a memory record by its unique identifier via a PUT request to the Mem0 API.

Inputs

  • authType — Choose between Mem0 cloud or your own self-hosted instance.
  • memoryId (required) — Unique identifier of the specific memory you want to update.
  • updateFields — Fields to update for the memory.

Output shape

json

The Mem0 API response containing the updated memory record, returned as the node's JSON output.

Examples

Example 1: Update a memory's text and metadata

Set memoryId to the target memory's ID, provide new text in updateFields.text, and optional key-value pairs in updateFields.metadata.entries to replace existing metadata.

Links

Discussion