Skip to content

Comments

Note list_vectors not in Python SDK yet#28134

Merged
elithrar merged 1 commit intoproductionfrom
opencode/issue25930-20260206110717
Feb 6, 2026
Merged

Note list_vectors not in Python SDK yet#28134
elithrar merged 1 commit intoproductionfrom
opencode/issue25930-20260206110717

Conversation

@ask-bonk
Copy link
Contributor

@ask-bonk ask-bonk bot commented Feb 6, 2026

Here's a summary of my investigation and changes:

Investigation findings

  1. The issue is confirmed: The client.vectorize.indexes.list_vectors() method documented in the API reference does not exist in any released version of the Cloudflare Python SDK, including the latest v4.3.1 (released Jun 16, 2025).

  2. Root cause: The API reference at /api/python/ is generated from the OpenAPI spec (not directly from the SDK source code). The Vectorize list-vectors REST API endpoint was announced Aug 26, 2025, which is after the last SDK release. The OpenAPI spec includes this endpoint, so the API reference documents list_vectors, but the SDK hasn't shipped a release containing it.

  3. SDK verification: I checked both the v4.3.1 tag and the main branch of cloudflare/cloudflare-python. Neither has list_vectors in src/cloudflare/resources/vectorize/indexes/indexes.py. The api.md file also does not list this method.

Changes made

Added a :::note[Python SDK availability] callout to two pages:

  • src/content/docs/vectorize/best-practices/list-vectors.mdx - The primary best practices guide for the list-vectors operation
  • src/content/docs/vectorize/reference/client-api.mdx - The Vectorize API reference, under the "List Vectors" section

Both notes explain that the method appears in the API reference but hasn't been included in a published SDK version yet, and point users to the REST API or Wrangler CLI as alternatives.

Closes #25930

github run

Co-authored-by: elithrar <elithrar@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/vectorize/ @elithrar, @vy-ton, @sejoker, @mchenco, @cloudflare/pcx-technical-writing

@elithrar
Copy link
Collaborator

elithrar commented Feb 6, 2026

cc @aninibread @sejoker - can we get Stainless updated here?

@elithrar elithrar merged commit 04f68c4 into production Feb 6, 2026
12 checks passed
@elithrar elithrar deleted the opencode/issue25930-20260206110717 branch February 6, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:vectorize Vectorize: https://developers.cloudflare.com/vectorize/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vectorize.indexes.list_vectors method does not exists in Python cloudflare-4.3.1 package

4 participants