Skip to main content
PATCH
Updates a specific memory entry by ID. You can modify the memory content, metadata, category, or memory type.

Path Parameters

string
required
The unique identifier of the memory to update

Request Body

string
Updated text content of the memory
object
Additional metadata to update for the memory
string
Updated memory category. One of: identity, career, interests, relationships, health, finance, learning, travel, productivity, private
string
Updated memory type: semantic or episodic
number
Updated importance score between 0.0 and 1.0

Response

string
Unique identifier of the updated memory
string
Updated text content of the memory
string
Updated memory category
string
Updated memory type (semantic or episodic)
number
Updated importance score
object
Updated memory metadata
array
Vector embeddings for the updated content (if content was modified)
string
ISO 8601 timestamp when the memory was originally created
string
ISO 8601 timestamp when the memory was last updated

Error Responses

object
Memory not found
object
Invalid request data
object
Unauthorized access
object
Access denied - memory belongs to another user

Notes

  • Only the fields provided in the request body will be updated
  • If content is updated, new embeddings will be automatically generated
  • Category changes may trigger re-classification and profile updates
  • Memory type changes will affect how the memory is retrieved in searches
  • All updates are versioned internally for audit purposes