Endpoints
Get memories
GET /memories
Returns the current memory content for the authenticated user.
Example request:
Example response:
Set memories
PUT /memories
Replaces the current memory content entirely. Memory writes are versioned automatically.
Request body:
Example request:
Get version history
GET /memories/history
Returns all previous versions of the user’s memory document.
Example request:
Example response:
Restore a version
POST /memories/restore
Rolls back the user’s memory to a previous version. The restore creates a new version entry rather than overwriting history.
Request body:
Example request:

