v52

OpenAPI 3.1.0raw.githubusercontent.com2026-08-033240556.8 KB
Memory

Edit a single memory in place while preserving its ID and usefulness posterior. Modes: 'replace' overwrites entire content; 'exact' performs surgical find-and-replace of oldString→newString (fails if missing or ambiguous)

post/api/memory/edit

Request body

memoryIdstring uuid
keystring
scope'agent' | 'swarm'
mode'replace' | 'exact'
contentstring
oldStringstring
newStringstring
intentstring required
expectedVersioninteger

Response

Memory edited