indexes_info
Creates, updates, deletes, gets or lists an indexes_info resource.
Overview
| Name | indexes_info |
| Type | Resource |
| Id | cloudflare.vectorize.indexes_info |
Fields
The following fields are returned by SELECT queries:
- list
Get Vectorize Index Info Response
| Name | Datatype | Description |
|---|---|---|
dimensions | integer | Specifies the number of dimensions for the index |
processedUpToDatetime | string (date-time) | Specifies the timestamp the last mutation batch was processed as an ISO8601 string. (example: 2024-07-22T18:25:44.442097Z) |
processedUpToMutation | string | The unique identifier for the async mutation operation containing the changeset. (example: 0000aaaa-11bb-22cc-33dd-444444eeeeee) |
vectorCount | integer | Specifies the number of vectors present in the index |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id, index_name | Get information about a vectorize index. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
index_name | string | The Vectorize index name. |
SELECT examples
- list
Get information about a vectorize index.
SELECT
dimensions,
processedUpToDatetime,
processedUpToMutation,
vectorCount
FROM cloudflare.vectorize.indexes_info
WHERE account_id = '{{ account_id }}' -- required
AND index_name = '{{ index_name }}' -- required
;