Edit a memory's text or move memories between buckets
Memory Endpoints
Update or Move Memory
POST
Edit a memory's text or move memories between buckets
Overview
Update a memory’s text, move a memory to a different bucket, or do both in a single request. You can also move up to 100 memories into one bucket at once with the bulk form. This is the REST equivalent of theupdate_or_move_memories MCP tool. Both share the same behaviour.
Authentication
Send your API key as a bearer token:Single memory update
Provide amemoryId plus at least one of text, bucketId, or bucketName. If you send only a memoryId with none of these fields, the request is rejected.
Changing a memory’s text re-embeds it, so search stays accurate against the new wording. Each text or bucket change increments the memory’s
version and records a snapshot in its edit history, so you can see what changed and when.Bulk move
To move several memories into the same bucket, send amemoryIds array (1 to 100 IDs) with either bucketId or bucketName. Bulk requests move memories only; they do not change text.
404 and the unresolved IDs are returned so you can retry:
Targeting a bucket
You can point at a destination bucket two ways:bucketId: a numeric bucket ID. The bucket must already exist, and you need write access to it.bucketName: a bucket name. If no bucket with that name exists, it is created for you and the memory is moved into it.
memoryId (single) or memoryIds (bulk) in a request, never both.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json