Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/content/docs/vectorize/best-practices/list-vectors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ sidebar:

The list-vectors operation allows you to enumerate all vector identifiers in a Vectorize index using paginated requests. This guide covers best practices for efficiently using this operation.

:::note[Python SDK availability]

The `client.vectorize.indexes.list_vectors()` method is not yet available in the current release of the [Cloudflare Python SDK](https://pypi.org/project/cloudflare/). While the method appears in the [API reference](/api/python/resources/vectorize/subresources/indexes/methods/list_vectors/), it has not been included in a published SDK version as of v4.3.1. In the meantime, you can use the [REST API](/api/resources/vectorize/subresources/indexes/methods/list_vectors/) or the Wrangler CLI to list vectors.

:::

## When to use list-vectors

Use list-vectors for:
Expand Down
6 changes: 6 additions & 0 deletions src/content/docs/vectorize/reference/client-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ Retrieves the configuration of a given index directly, including its configured

### List Vectors

:::note[Python SDK availability]

The `client.vectorize.indexes.list_vectors()` method is not yet available in the current release of the [Cloudflare Python SDK](https://pypi.org/project/cloudflare/). While the method appears in the [API reference](/api/python/resources/vectorize/subresources/indexes/methods/list_vectors/), it has not been included in a published SDK version as of v4.3.1. In the meantime, you can use the [REST API](/api/resources/vectorize/subresources/indexes/methods/list_vectors/) or the Wrangler CLI to list vectors.

:::

List all vector identifiers in an index using paginated requests, returning up to 1000 vector identifiers per page.

```sh
Expand Down