Note list_vectors not in Python SDK yet#28134
Merged
elithrar merged 1 commit intoproductionfrom Feb 6, 2026
Merged
Conversation
Co-authored-by: elithrar <elithrar@users.noreply.github.com>
Contributor
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
Contributor
Collaborator
|
cc @aninibread @sejoker - can we get Stainless updated here? |
elithrar
approved these changes
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here's a summary of my investigation and changes:
Investigation findings
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).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 documentslist_vectors, but the SDK hasn't shipped a release containing it.SDK verification: I checked both the v4.3.1 tag and the
mainbranch of cloudflare/cloudflare-python. Neither haslist_vectorsinsrc/cloudflare/resources/vectorize/indexes/indexes.py. Theapi.mdfile 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 operationsrc/content/docs/vectorize/reference/client-api.mdx- The Vectorize API reference, under the "List Vectors" sectionBoth 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