Skip to main content

Delete a Record

To remove a record from a collection, use the delete_record method. This requires the collection ID and the record ID.

import taskingai

taskingai.retrieval.delete_record(
collection_id="YOUR_COLLECTION_ID",
record_id="YOUR_RECORD_ID",
)

Once executed, the specified record is permanently removed from the collection and the chunks associated with it are also deleted.