Skip to main content

indexes_list

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

Overview

Nameindexes_list
TypeResource
Idcloudflare.vectorize.indexes_list

Fields

The following fields are returned by SELECT queries:

List Vectors Response

NameDatatypeDescription
countintegerNumber of vectors returned in this response
cursorExpirationTimestampstring (date-time)When the cursor expires as an ISO8601 string (example: 2025-08-12T20:32:52.469144957+00:00)
isTruncatedbooleanWhether there are more vectors available beyond this response
nextCursorstringCursor for the next page of results (example: suUTaDY5PFUiRweVccnzyt9n75suNPbXHPshvCzue5mHjtj7Letjvzlza9eGj099)
totalCountintegerTotal number of vectors in the index
vectorsarrayArray of vector items

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_id, index_namecount, cursorReturns a paginated list of vector identifiers from the specified 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.
countinteger
cursorstring

SELECT examples

Returns a paginated list of vector identifiers from the specified index.

SELECT
count,
cursorExpirationTimestamp,
isTruncated,
nextCursor,
totalCount,
vectors
FROM cloudflare.vectorize.indexes_list
WHERE account_id = '{{ account_id }}' -- required
AND index_name = '{{ index_name }}' -- required
AND count = '{{ count }}'
AND cursor = '{{ cursor }}'
;