This page shows you how to use the delete endpoint to remove documents from an index.Documentation Index
Fetch the complete documentation index at: https://wrtntechnologies.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Delete documents by IDs
Since AIMP documents can always be efficiently accessed using their ID, deleting by ID is the most efficient way to remove specific records.Delete documents by query
To delete documents based on their data, pass afilter query to the delete operation.
This deletes all document matching the filter query.
For example, to delete all documents with genre “documentary” and year 2019 from an index, use the following code: