Skip to main content
Cognis provides two deletion methods: delete() removes a specific memory record by ID, and delete_all() removes all memories matching a scope.

Delete a single memory

Method signature

Parameters

Response

Basic usage

Delete all memories for a scope

Method signature

At least one of owner_id, agent_id, or session_id must be provided.

Parameters

Usage

Async usage

delete_all() is irreversible. Use Get Memories to review the records in a scope before calling it in production.