Actions16
- Index Actions
- Vector Actions
- Metadata Actions
- Utility Actions
Index → Delete
AI-generatedOverview
This node integrates with Cloudflare Vectorize, a vector database service designed for managing and querying vector embeddings. It supports operations on vector indexes, vectors themselves, metadata filtering, and utility functions. The node is useful in scenarios involving semantic search, recommendation systems, AI agents, and retrieval-augmented generation (RAG) applications where vector similarity search is essential.
For the Index - Delete operation specifically, the node permanently deletes a specified vector index along with all its stored data. This is beneficial when you want to clean up unused or obsolete indexes to manage resources or reset your vector database state.
Practical example:
You have created several vector indexes for different projects or datasets. When a project ends or an index is no longer needed, you can use this node’s delete operation to remove that index and free up storage.
Properties
| Name | Meaning |
|---|---|
| Index Name | The name of the vector index to delete. Must be lowercase, unique, and contain only letters, numbers, and hyphens. |
Output
The output JSON object for the delete operation contains:
success(boolean): Indicates whether the deletion was successful (true).indexName(string): The name of the index that was deleted.
Example output:
{
"success": true,
"indexName": "example-index"
}
No binary data is output by this operation.
Dependencies
- Requires an API key credential for authenticating with the Cloudflare Vectorize service.
- The node depends on internal utility functions from the bundled
CloudflareVectorizeUtilsmodule to perform API calls. - Proper configuration of the API credentials in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Attempting to delete an index that does not exist will likely result in an error.
- Providing an invalid index name format (uppercase letters, special characters other than hyphens) may cause validation errors.
- Network or authentication failures if the API key is missing, expired, or incorrect.
Error messages:
"Unknown index operation: delete": This would indicate a misconfiguration or typo in the operation parameter.- Errors related to authorization or connectivity typically come from the underlying API call and should be resolved by verifying credentials and network access.
- If the node throws an error about the index not found, verify the exact index name spelling and existence.
Resolution tips:
- Double-check the index name for correct formatting.
- Ensure the API key credential is correctly set up and has sufficient permissions.
- Use the list operation first to confirm the index exists before attempting deletion.
Links and References
- Cloudflare Vectorize Documentation (general reference for the service)
- Semantic Search and Vector Databases Overview
- n8n Documentation on Credentials
If you need details on other operations or resources, feel free to ask!