Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete data from the knowledge base (deprecated)
cognee.delete()
cognee.datasets.delete_data()
async def delete( data_id: UUID, dataset_id: UUID, mode: str = "soft", user: Optional[User] = None, )
# Old (deprecated) await cognee.delete(data_id=item_id, dataset_id=ds_id) # New (recommended) await cognee.datasets.delete_data(dataset_id=ds_id, data_id=item_id)
Was this page helpful?