DELETE /memories/{memory_id}
Delete a memory that is no longer true.
Available to every credential type, agents included — a wrong memory is worse than a missing one. The deleted content is kept in the memory's history for forensics, not for an undo API.
curl -X DELETE "https://api.ellipsis.dev/v1/memories/{memory_id}" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.memories.delete("...")
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.memories.delete('...');
console.log(result);Request
memory_idstringrequired
if_sha256string
Only delete if the memory's current content_sha256 matches.