Overview
Delete all episodes associated with a specificsource_description for a user. This is useful when users delete conversations or when you need to remove related data in bulk.
This operation is permanent! All facts and entities derived from these episodes will be removed from the knowledge graph.
Authentication
Your API key for authentication
Path Parameters
User identifier (group ID)
Conversation/source identifier to delete
Response
Confirmation message
Example Request
Example Response
Error Responses
Request validation failed - invalid parameters
Best Practices
Always use source_description when adding episodes - This enables easy batch cleanup later
Understand the impact - Deleting episodes removes derived facts and entities. Entities mentioned in other episodes will remain in the graph.
Group related data - Use the same
source_description for all episodes in a conversation for efficient cleanupUse Cases
User Deletes Conversation
When a user deletes a conversation in your app, use this endpoint to remove all associated memory data
Clean Up Test Data
Remove temporary or test episodes by source_description
Remove Sensitive Information
Delete episodes containing sensitive data that should no longer be stored