Pinecone · Schema
DeleteRequest
The request for the `delete` operation.
Vector DatabasesAIEmbeddingsRAG
Properties
| Name | Type | Description |
|---|---|---|
| ids | array | Vectors to delete. |
| deleteAll | boolean | This indicates that all vectors in the index namespace should be deleted. |
| namespace | string | The namespace to delete vectors from, if applicable. |
| 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 [Delete dat |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/DeleteRequest",
"title": "DeleteRequest",
"description": "The request for the `delete` operation.",
"type": "object",
"properties": {
"ids": {
"example": [
"id-0",
"id-1"
],
"description": "Vectors to delete.",
"type": "array",
"items": {
"type": "string"
},
"minLength": 1,
"maxLength": 1000
},
"deleteAll": {
"example": false,
"description": "This indicates that all vectors in the index namespace should be deleted.",
"default": false,
"type": "boolean"
},
"namespace": {
"example": "example-namespace",
"description": "The namespace to delete vectors from, if applicable.",
"type": "string"
},
"filter": {
"description": "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 [Delete data](https://docs.pinecone.io/guides/manage-data/delete-data#delete-records-by-metadata).",
"type": "object"
}
}
}