Mem0 icon

Mem0

Interact with the Mem0 API - intelligent memory layer for AI

Entity → Update

AI-generated

Summary

Update an entity record with selected fields

Inputs

  • authType — Choose between Mem0 cloud or your own instance
  • entityType (required) — Entity type for the selected operation
  • entityId (required) — Unique identifier of the entity
  • entityUpdateFields — Select the fields you want to update

Output shape

a single updated entity object

The response contains the updated entity's full data, including any fields you chose to update.

Examples

Example 1: Update a user's name and add a metadata key-value pair

Set authType to Cloud, entityType to User, entityId to mem_123, and in entityUpdateFields set name to "John Doe" and metadata entries with key "status" and value "active".

Example 2: Update an organization's description

Select entityType as Organization, provide entityId, then in entityUpdateFields set description to "New Org Description" and optionally update metadata.

Example 3: Update a project's name and add custom metadata

Choose entityType as Project, set entityId, then set name to "CRM Project", add metadata entry with key "owner" and value "admin".

Links

Discussion