Skip to main content

indexes_info

Creates, updates, deletes, gets or lists an indexes_info resource.

Overview

Nameindexes_info
TypeResource
Idcloudflare.vectorize.indexes_info

Fields

The following fields are returned by SELECT queries:

Get Vectorize Index Info Response

NameDatatypeDescription
dimensionsintegerSpecifies the number of dimensions for the index
processedUpToDatetimestring (date-time)Specifies the timestamp the last mutation batch was processed as an ISO8601 string. (example: 2024-07-22T18:25:44.442097Z)
processedUpToMutationstringThe unique identifier for the async mutation operation containing the changeset. (example: 0000aaaa-11bb-22cc-33dd-444444eeeeee)
vectorCountintegerSpecifies the number of vectors present in the index

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_id, index_nameGet 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
index_namestringThe Vectorize index name.

SELECT examples

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
;