Memories

Delete a memory

DELETE /v1/memories/{id}
Permission
delete:memories
Tokens
API key, CLI user token, Session token

Delete a memory. Its versions stay readable through its ID until they expire. A memory that is a file in GitHub returns 409 and is deleted by deleting the file.

Path parameters

idstringrequired

Query parameters

if_sha256string

Make the change only if the memory's `content_sha256` still equals this value.

1
import os
2
3
from ellipsis import Ellipsis
4
5
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
6
7
result = client.memories.delete("...")
8
print(result)

On this page

No Headings
Schedule a demo
For HumansFor Agents