Skip to content

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
idsarray of textOptionalRecord IDs to delete. Omit if using deleteAll or filter.
deleteAllyes/noOptionalIf true, delete all records in the namespace
namespacetextOptionalNamespace to delete from
filterobjectOptionalDelete only records matching this metadata filter. Mutually exclusive with ids and deleteAll.

Outputs

Name Type Description
statusCodenumberHTTP status code (200 on success)
bodyobjectAPI response (empty object on success)