Vector Store icon

Vector Store

Store, search and manage vectors on the n8n host filesystem via js-vector-store

Delete

AI-generated

Summary

Delete a vector with the specified ID from the named collection in the local vector store. The operation is treated as a write and is rejected when Read Only is enabled.

Inputs

  • Read Only — Defaults to false. When true, blocks this delete operation before it runs.
  • Collection (required) — Name of the collection containing the vector.
  • ID (required) — ID of the vector to delete.

Output shape

A single item with JSON fields collection, id, and deleted.

deleted is the boolean result of the store's remove call, so it indicates whether a vector was removed. The updated store is flushed to disk after the operation.

Links

Discussion