Actions16
- Index Actions
- Vector Actions
- Metadata Actions
- Utility Actions
Index → Get
AI-generatedOverview
This node integrates with Cloudflare Vectorize, a vector database service designed for managing and querying vector data. It supports operations on vector indexes, vectors themselves, metadata filtering, and utility functions for administration and debugging.
The "Get" operation under the "Index" resource retrieves detailed information about a specific vector index by its name. This is useful when you want to inspect the configuration or status of an existing index, such as verifying its dimensions, distance metric, or other metadata.
Practical examples:
- Fetching details of a vector index before inserting or querying vectors to ensure compatibility.
- Auditing existing indexes in your Cloudflare Vectorize account.
- Integrating index metadata into workflows that adapt based on index properties.
Properties
| Name | Meaning |
|---|---|
| Index Name | The unique name of the vector index to retrieve information about. Must be lowercase and contain only letters, numbers, and hyphens. |
Output
The output JSON contains an index field with detailed information about the specified vector index. This typically includes the index's configuration, such as its name, description, number of dimensions, distance metric used, creation date, and possibly other metadata related to the index.
Example output structure (simplified):
{
"index": {
"name": "example-index",
"description": "Optional description",
"config": {
"dimensions": 1536,
"metric": "cosine"
},
"createdAt": "2023-01-01T00:00:00Z",
// additional index metadata fields...
}
}
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Cloudflare Vectorize service.
- The node depends on internal utility functions (
CloudflareVectorizeUtils) to handle API requests. - Proper configuration of the API authentication credential within n8n is necessary.
Troubleshooting
Common issues:
- Providing an invalid or non-existent index name will likely result in an error indicating the index could not be found.
- Using uppercase letters or invalid characters in the index name may cause validation errors.
- Network or authentication failures can prevent successful retrieval.
Error messages:
"Unknown index operation: get": Indicates the operation parameter was incorrectly set; ensure it is exactly "get".- Errors related to missing or invalid credentials: Verify that the API key credential is correctly configured.
"Unknown resource: index": Means the resource parameter is incorrect; should be "index" for this operation.
To resolve these, double-check input parameters, ensure the index exists in your Cloudflare Vectorize account, and verify API credentials.