Mem0 icon

Mem0

Interact with the Mem0 API - intelligent memory layer for AI

Memory → Update

AI-generated

Summary

Updates a memory by its unique identifier via PUT /v1/memories/{memoryId}.

Inputs

  • memoryId (required) — Unique identifier of the specific memory to update.
  • updateFields — Fields to update on the memory.

Output shape

JSON

The Mem0 API response containing the updated memory record, paired with the workflow input item.

Examples

Example 1: Update memory text and metadata.

Set memoryId to the target memory's ID, provide new text in updateFields.text, and optionally replace metadata via updateFields.metadata.entries.

Links

Discussion