POST
/
vectors
/
delete

Body

application/json

The request for the delete operation.

deleteAll
boolean
default:
false

This indicates that all vectors in the index namespace should be deleted.

filter
object

If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive with specifying ids to delete in the ids param or using delete_all=True. See Understanding metadata. Serverless indexes do not support delete by metadata. Instead, you can use the list operation to fetch the vector IDs based on their common ID prefix and then delete the records by ID.

ids
string[]

Vectors to delete.

namespace
string

The namespace to delete vectors from, if applicable.

Response

200 - application/json

The response for the delete operation.