Delete Records
Pinecone
Pinecone
Delete Records
Delete text-based records by ID, by metadata filter, or all records in a namespace.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
ids | array of text | Optional | Record IDs to delete. Omit if using deleteAll or filter. |
deleteAll | yes/no | Optional | If true, delete all records in the namespace |
namespace | text | Optional | Namespace to delete from |
filter | object | Optional | Delete only records matching this metadata filter. Mutually exclusive with ids and deleteAll. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code (200 on success) |
body | object | API response (empty object on success) |