pypi / pinecone
pinecone
What changed in pinecone 8 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
139 breaking8 security10 deprecations109 new APIs and options4 performance50 behavior and defaults3 tooling60 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpinecone 10246 changes
Breaking changes 110
Malformed proxy URLs now fail during construction with a masked PineconeValueError naming the problem; code catching httpx.InvalidURL will no longer match.
gRPC now rejects proxy URLs that are not http://, including https://, SOCKS, and scheme-less URLs; use an http:// proxy or REST.
Version 10.2.0 bundles rustls-webpki 0.103.16, which rejects compromised emSign certificate chains that affected gRPC users could otherwise trust.
A negative wait timeout on indexes.create or indexes.delete now raises; -1 still skips waiting.
A bare string where a list is required now raises PineconeTypeError instead of being split into characters.
Mixed-case schema metrics, such as "Cosine", are lowercased before being sent.
Some errors previously raised as ValueError now raise PineconeTypeError; catch PineconeError or TypeError.
Schema field names over 64 UTF-8 bytes now raise when creating an index with a schema.
An EmbedQuery or SparseEmbedQuery must be the only clause in score_by.
Passing dimension now raises instead of silently forwarding a key that does nothing.
Passing metric now raises instead of silently forwarding a key that does nothing.
In 10.0.0, only the exactly cased X-Pinecone-Api-Version key replaces the SDK API-version header; matching is case-sensitive.
An additional header now replaces an SDK header regardless of capitalization, preventing duplicate values from being sent.
Lists pending and expired invites only; accepted invites disappear from the listing but remain available through describe with processed status.
Adds role-binding management; authorization uses one role, one principal, and one scope, with no other source of permissions.
Becomes an explicit runtime dependency with a minimum version of 4.0.
Client construction now rejects API keys that cannot be sent as HTTP headers, preventing a later HTTP failure that could expose the key in an error message.
Streaming assistant chat no longer aborts at 30 seconds; without a per-call timeout, the read floor is 300 seconds.
Removes percent_done; use describe_operation(...) and read OperationModel.status for processing progress.
Removes error_message; read error from the assistant operations API instead.
Removes percent_done; read percent_complete from the assistant operations API instead.
Becomes a coroutine, so callers must await it.
Async list() returns an AsyncPaginator and is not a coroutine; iterate asynchronously instead of awaiting it and calling .names().
schema changed from a plain dict to a typed IndexSchema, matching the class returned by index.schema.
Removes dimension from BackupModel; read schema instead.
Removes metric from BackupModel; read schema instead.
Re-enabling a disabled schedule recomputes next_scheduled_run from the update time and shifts its cadence; enabling an already-enabled schedule remains a no-op.
On indexes with an embed or sparse_embed field, the server accepts at most 96 documents per upsert or update request, so explicit batch_size values must be 96 or lower.
The deployment model removes
cloudandregion; onlyenvironmentremains.Invalid values and argument combinations now raise PineconeValueError or PineconeTypeError locally before a request; these are not ApiError subclasses.
A request carrying cmek_id is rejected when using a pod deployment or declaring any full_text_search field.
Unknown PATCH fields are rejected rather than ignored.
Index-scoped create_backup() is now a coroutine.
A dedicated method replaces the old spec=IntegratedSpec(...) path for creating legacy integrated indexes.
Index creation polls until the index is ready by default; timeout=-1 restores return-immediately behavior.
The graduated field requires
dimensionandmetric; they are no longer defaulted toNone.Index-scoped describe_backup() is now a coroutine.
Removes the [dev] extra; use uv sync --group dev instead.
Fetch responses now use an operation-specific usage type.
List responses now use an operation-specific usage type.
A None max_concurrency for documents.batch_upsert now resolves to 8; it resolved to 4 under pc.preview.
The method drops
**kwargs, so misspelled arguments raiseTypeErrorat the call site instead of being silently swallowed.Delete now returns
DeleteDocumentsResponseinstead ofNoneand accepts a filter; exactly one ofids,filter, ordelete_allis required.Search responses now use an operation-specific usage type.
configure() no longer accepts embed=; the convert-to-integrated flow no longer exists and unknown PATCH fields are rejected.
An empty index name now raises PineconeValueError instead of returning False.
The limit is now bounded above at 10000 and invalid values raise locally.
fetch, fetch_by_metadata, and list_paginated now validate their ID or prefix shape and limit range using the checks used by other vector operations.
Vector IDs are now validated locally for length and NUL; fetch also validates its ids before making a request.
An empty filter on delete, update, or fetch_by_metadata now raises PineconeValueError locally.
The finish_reason value function_call is replaced by tool_calls; code matching on the old string needs updating.
Use
FloatFieldfor the graduated field type whose preview predecessor was tagged with wire typefloat.Backup schedules accept exactly daily, weekly, or monthly; cron is not supported.
The config removes
lowercaseandmax_term_lenand gains optionalngramconfiguration.secure=False now makes the REST calls backing upsert_records and search unverified; the gRPC channel scheme is controlled separately by grpc_scheme.
No longer raises on partial failure by default; failures are collected in the response. Set on_error="raise" to restore the previous behavior.
Bare strings supplied where lists of names are expected now raise PineconeTypeError rather than being split into individual characters.
Adds document upsert, search, fetch, list, update, delete, and batch_upsert on sync and async index clients for indexes created with a 2026-07 document schema.
The created_at property is removed from IndexModel.
Use
IntegerFieldfor whole-number fields; the preview integer class was tagged with wire typeinteger.The limit is now bounded to 1–100 and invalid values raise locally.
Prefixes are now validated locally using the shared vector-ID rule: 1–512 ASCII characters, with no NUL.
delete, update, and fetch_by_metadata now reject an empty filter locally instead of forwarding it to the server.
The SDK validates metadata values before sending requests; values must be strings, numbers, booleans, or lists of strings. Invalid values raise locally, while None is accepted and stripped by the server.
Names and IDs expected as strings now raise PineconeTypeError for non-string values before a request, rather than being coerced or failing inconsistently.
With on_error="raise", the lowest-indexed batch failure is re-raised after every batch settles, with the partial result attached to the exception.
When pagination_token is supplied, limit is dropped because the token already encodes page size; send limit only on the first call or use the iterator helpers.
A 413 from any call now raises PayloadTooLargeError, a subclass of ApiError.
Deletion is asynchronous; the default waits for the operation to complete, while timeout=-1 returns on acceptance and the file may still exist.
The SDK now polls the returned operation until Completed and then describes the file; with timeout=-1 it returns after acceptance, so processing may still be underway.
Creating a collection from a serverless source is rejected; collections remain listable, describable, and deletable.
The graduated index entry point is on the client directly; asynchronous index resolution is eager and must be awaited.
Index operations move from pc.preview.indexes to pc.indexes; AsyncPinecone.indexes mirrors the namespace.
Creating an index with the 2026-07 API persists a document schema; use document operations for that index rather than vector operations.
Returns Paginator[IndexModel] instead of IndexList, so .names() is unavailable on this path; pc.list_indexes() is unchanged.
Batch writes share a process-global gate per lowercase hostname across clients and sync/async calls. It limits concurrency, responds to throttling and retry hints, and can refuse queued batches during a 30-second cool-down.
Removes the preview namespace and its classes and modules without a shim; graduated APIs are available on the main client.
The 2026-07 API refuses pod-backed index creation, although existing pod indexes remain describable, listable, configurable, and deletable.
The type requires
replicasandshardsand removespods;2026-07will not create pod indexes.Removed along with the preview package; preview backup operations now return the top-level BackupModel.
id is rejected when supplied alongside either vector or sparse_vector.
The client now rejects id combined with sparse_vector before sending a request; hybrid queries without id are unaffected.
REST, asyncio, and gRPC now accept top_k only from 1 through 10000 and raise PineconeValueError outside that range.
The query-string clause gains
fieldandfieldsfor scoping a query to named fields.The top-level read_capacity= option now applies to both managed and BYOC indexes, not only BYOC indexes.
Enum members now serialize using their value rather than their qualified name.
Encodes every REST path parameter at the transport boundary to prevent caller-supplied slashes and dot segments from addressing a different endpoint.
schema= now declares searchable fields, including vector fields; metadata-only fields are indexed automatically at upsert and are rejected if declared at creation.
Builds an index schema in Python; add methods return the builder and build() returns a dict suitable for pc.indexes.create(schema=...).
add_sparse_vector_field no longer emits metric; passing metric or dimension now raises PineconeValueError.
SchemaBuilder performs only a few local checks, such as names and byte limits. Other schema errors, and errors in a raw schema dict, are returned as ApiError with the server message.
Unknown keys in a dict score_by clause now raise PineconeValueError instead of being dropped and silently ignored.
A single TextQuery must be wrapped in a list; invalid clause items and non-integer top_k or limit values now raise PineconeTypeError.
The model is required and dimension is removed; this field cannot be declared at create time on
2026-07and appears in responses only.create() no longer accepts source_backup_id; use pc.create_index_from_backup(...) to restore a backup instead.
create() no longer accepts source_collection; use pc.create_index_from_backup(...) to restore a backup instead.
Hybrid schemas must explicitly declare a sparse_vector field; dense metric="dotproduct" no longer implies sparse support.
Sparse vector fields no longer have a configurable metric.
The configured CA bundle or directory is now used by the SDK transport; missing paths raise FileNotFoundError when the client or connection pool is built.
The setting now affects SDK transport verification; false disables certificate verification and hostname checking, including Admin’s OAuth token exchange.
Index tags are None when no tags are present, rather than an empty dict.
Zero, negative, or NaN client-level and Documents API timeouts now raise PineconeValueError before a request is sent.
Negative wait timeouts other than -1 on index create, create_for_model, and delete now raise PineconeValueError before the request.
Zero, negative, or NaN client-level and per-call timeouts now raise PineconeValueError before a request is sent.
The async rerank path now enforces top_n >= 1.
Zero, negative, or NaN total timeouts now raise PineconeValueError before a request is sent, including for batch upserts and dataframe upserts.
By-filter updates carrying values or sparse_values now raise PineconeValueError before making a request.
A by-filter update cannot carry sparse_values and is rejected before the request is sent.
A by-filter update now rejects values locally; use id to update vector values or set_metadata to update matching records.
VectorType members passed to list_models are now encoded using their values rather than their repr-style names.
Security 6
repr() now masks proxy passwords in PineconeConfig and Config; rotate the password if logs captured an earlier repr.
Upgrade certifi to 2026.10.19 or later to avoid trusting compromised emSign roots for control-plane and data plane REST calls.
GrpcIndex users should upgrade for the rustls fix to RUSTSEC-2026-0285.
PINECONE_ADDITIONAL_HEADERS is no longer logged; rotate credentials exposed in old logs.
Public index hosts using http:// now emit a RuntimeWarning because credentials and requests are unencrypted; local and private addresses are exempt.
Masks the access token in repr() and str(), showing only its last four characters.
Deprecations 6
No longer documented and remains accepted only as a deprecated alias silently remapped to claude-sonnet-4-5.
The server continues to accept this model name as a deprecated alias and answers with claude-sonnet-4-5.
Recommended replacement model for the deprecated claude-3-5-sonnet and claude-3-7-sonnet aliases.
index.dimension remains available as a computed property but is deprecated; use the dimension on the relevant schema field.
index.metric remains available as a computed property but is deprecated; use the metric on the vector schema field.
index.vector_type remains available as a computed property but is deprecated; use field types in index.schema.fields.
New APIs and options 65
Set task_type for one search, overriding the field's read_parameters; unset, the field defaults apply and the key is not sent.
Choose where the model processes documents and queries when creating an index; unset, the model's default applies.
Adds a Field filter method for matching every word in any order in document search and fetch filters on supported string fields.
Adds a Field filter method for matching at least one word in document search and fetch filters on supported string fields.
Adds a Field filter method for matching words in order in document search and fetch filters on supported string fields.
BatchResult, BatchError, and Condition can now be imported from pinecone.
DenseVectorQuery and SparseVectorQuery now accept NumPy arrays.
String fields can use embed=True or sparse_embed=True so Pinecone embeds document text and queries for you. Model configuration and text storage can be controlled with FieldEmbedConfig or FieldSparseEmbedConfig and store_text=False.
Responses report embedding token usage in usage.embed_total_tokens.
Adds a keyword-only host option for directing Admin to a non-production host.
Adds organization invite management to the Admin client.
Adds role-binding listing, creation, description, and deletion; bindings are immutable, so role changes require creating the replacement before deleting the old binding.
Adds service-account management to the Admin client.
Adds user management to the Admin client.
Adds documented size in bytes as int64, populated on upload, describe, and list responses.
Adds the assistant deployment region, either us or eu.
Adds the source index deletion timestamp, or None while that index is active. Only list_index_backups(include_deleted=True) populates it.
documents.batch_upsert adds timed_out, which is True only when work was left unsent.
Adds context_snippet_count to ChatResponse.
configure() accepts a typed IndexSchema as well as a plain dict.
Assistant chat stream chunks now carry content_filter_results.
Adds a type field naming the source document kind, such as text, json, markdown, pdf, or doc_x.
create() accepts a typed IndexSchema as well as a plain dict.
The async indexes namespace also adds create_for_model().
The request model is exported from pinecone, pinecone.models, and pinecone.models.backups.
Deletes wait for completion by default. With timeout=-1, the call returns as soon as the server accepts the request, so the file may still exist.
BackupModel exposes dense_dimension as a convenience for the common one-vector-field case; it returns None when the schema is absent or does not contain exactly one dense_vector field.
The
documentsargument accepts sequences of mappings and typedDocumentRecordorUpdateDocumentRecordobjects, not only lists of dictionaries.Document batch upserts now accept total_timeout to bound admission; work left unsent is reported.
Fetch accepts exactly one of
idsorfilter; filtered fetches are paginated, while ID-based fetches are not.Every document method accepts a
timeoutkeyword, defaulting toNoneto match previous behavior.Adds members for models available at API version 2026-07.
Adds an ApiError subclass for HTTP 412 responses.
Adds an exported typed object for per-string-field full-text search configuration, including language, stemming, stop words, and character n-grams.
Adds grpc_scheme to select the gRPC endpoint scheme; when unset it follows secure, and https with secure=False raises PineconeValueError at construction.
The documents namespace adds batch upsert;
max_concurrencydefaults toNone, allowing the host admission gate to use its default.The documents namespace adds list; it returns a paginator and is not a coroutine on either lane.
The documents namespace adds an update operation.
IndexModel exposes schema, deployment, read_capacity, source_collection, source_backup_id, and cmek_id; spec and embed remain as deprecated computed views.
Typed schema and deployment models are newly exported from pinecone, including vector, semantic text, scalar field, and read-capacity models.
Index name is optional; the server assigns one if omitted.
Adds an exported typed object for character n-gram configuration; n-grams cannot be combined with stemming or stop words.
Adds a keyword-only Admin option for directing the OAuth token exchange to a full URL; it has no environment-variable fallback.
Adds an ApiError subclass for HTTP 402 responses.
Adds region at creation time, defaulting to us; the region cannot be changed later.
Describes assistant operations, exposing status, percent_complete, and error so asynchronous file writes can be followed.
Lists assistant operations so asynchronous jobs can be followed.
Adds recurring backup schedule management and per-schedule run history. Frequency supports daily, weekly, or monthly; only one enabled schedule per index is allowed.
Adds the keyword-only include_deleted option for listing backups belonging to active and deleted indexes that have held the name.
Accepts read_capacity to apply dedicated read capacity while restoring an index.
Sets the gRPC endpoint scheme for processes configuring hosts through the environment; an explicit keyword argument takes precedence.
429 responses map to RateLimitError, which carries retry_after when the server sends a Retry-After header; 429 is included in the default retry set.
Adds dedicated read capacity configuration at index creation, configure, or restore for managed and BYOC indexes; the setting reads back from IndexModel.read_capacity.
Documents search responses now carry the reconciled log position; fetch responses do not report a reconciled position.
The renamed sparse-values model now supports dict-style access alongside attribute access.
Adds finish_reason to StreamMessageEnd.
Adds context_snippet_count to StreamMessageStart.
Adds an id to StreamMessageStart.
Adds TOO_MANY_REQUESTS to the assistant error-code enum.
Adds a deadline for an entire batched upsert call; when it expires, submission stops, in-flight batches finish, and unsent items are returned as failures.
All three lanes now accept keyword-only max_concurrency, defaulting to None and resolving to 8.
Adds on_error to choose between collecting partial failures in the response or raising; failed rows are available in response.failed_items.
Pass
on_error="raise"to re-raise the lowest-indexed batch failure after every batch settles; the exception carries the partial result.Dataframe batch upserts now accept total_timeout to bound admission; unsent batches are reported as failures.
Vector upsert examples and calls use the vectors keyword for the vector data argument.
Behavior and default changes 35
Filtered fetches accept a limit of up to 10,000.
Integrated-embedding document upserts and updates accept at most 96 documents per request; the default batch_upsert size of 50 fits.
Some error messages and reprs changed, so code matching their text may need updating.
A SparseValues object now works as a document field value.
Admin requests and OAuth token exchanges now use API version 2026-07.
Admin refreshes its bearer token before expiry and retries once with a fresh token after a 401; supplying Authorization in additional_headers opts out.
File IDs are plain strings and may be caller-supplied, so parsing them as UUIDs is no longer safe.
Schedule creation and enabling are gated by the backup plan entitlement; disabling or retuning an existing schedule is not.
An index can have at most one enabled schedule; disabled schedules do not count, and conflicts return 409.
configure() now returns the updated IndexModel instead of None.
Schema-field description is always present and is null when no description was given.
When a batch is rejected as too large with HTTP 413, the SDK halves and resends it down to single documents; remaining failed items exceed the server's size cap.
max_concurrencydefaults toNone, allowing the host admission gate to use its default of 8; the gate can hold effective concurrency below the requested ceiling.Omitting
include_fieldsor passing an empty list returns only_idand_score; request fields explicitly to read them from search hits.stop_words=true requires stemming=true, and stop_words is unsupported for some languages; ngram cannot be combined with stemming or stop_words.
The first gRPC ingest with a partial failure and no explicit
on_errorwarns once per process, namingresponse.errorsandon_error="raise".The renamed status model now supports dict-style access alongside attribute access.
Async index-scoped list_backups() returns an AsyncPaginator[BackupModel].
Batched upsert defaults max_concurrency to 8, up from 4; an adaptive per-host admission gate can limit or abandon batch submission.
Assistant file upload metadata moves from a query parameter into the multipart body; SDK callers continue passing a dict.
Re-enabling a disabled schedule recalculates next_scheduled_run from the update time and enqueues a backup; setting enabled=True on an already-enabled schedule is a no-op.
Backup creation graduates from the preview namespace onto pc.indexes.
Backup description graduates from the preview namespace onto pc.indexes; backup_id can be positional-or-keyword.
Backup listing graduates onto pc.indexes and returns a lazy Paginator[BackupModel].
Batched writes now share a process-global per-host gate that can pace or refuse batches, abandon queued work during cooldown, and report host-level state.
Pinecone and AsyncPinecone now raise PineconeTypeError for unsupported keyword arguments instead of plain TypeError.
Admin now resolves its host from the host keyword first, then PINECONE_CONTROLLER_HOST, then the default.
A plaintext gRPC data plane using http against a non-loopback, non-private host now emits one RuntimeWarning per process.
Documents upsert, update, and delete responses now carry the committed log position instead of always returning None.
Boolean, float, and string-list field builders now always emit filterable, including when it is False.
Boolean, float, and string-list fields now always include filterable in build() output, including when it is False.
Under
on_error="collect", an expired deadline logs a warning and returns the partial response; underon_error="raise", it raisesPineconeTimeoutErrorcarrying the partial result onresponse.Metadata values are validated locally; values must be strings, numbers, booleans, or lists of strings, while None is accepted and dropped on both transports.
The default API version header is 2026-07 on every plane; set the header explicitly to pin an older version.
Control-plane requests for indexes, collections, backups, backup schedules, and restore jobs now send API version 2026-07.
Fixes and other changes 24
The logged curl command is now shell-quoted so a URL, header, or body containing a single quote no longer breaks it.
gRPC now sends proxy credentials from the URL in Proxy-Authorization on CONNECT, allowing authenticating proxies to accept the tunnel.
Corrects the reserved namespace error message to clarify that the namespace exists by default only on indexes created with dimension/metric, and that document indexes create it through upserts.
The method deletes every page of backups so project deletion succeeds.
EmbedConfig.to_dict() now keeps dimension.
Single-field clauses now accept fields=["name"].
Documents methods require filter to be a dict; convert a filter-builder Condition with .to_dict().
IndexModel.dimension, .metric, and .vector_type now work for an embed field's dense vector.
The 9.x import path works again.
Python 3.15 is supported with prebuilt wheels.
Malformed score_by, top_k, or limit inputs now raise PineconeTypeError before the request is sent.
Additional headers now replace SDK headers regardless of capitalization, avoiding duplicate values being sent to the server.
Cleanup now deletes assistants as well as indexes, collections, and backups, allowing project deletion to complete when assistants are present.
A fetch response never reports a reconciled position, so polling fetch with is_reconciled(target) can run forever; poll documents.search instead.
Omitting
include_fieldson fetch returns every field.Field descriptions are limited to 256 UTF-8 bytes; SchemaBuilder checks the byte count before sending the request.
Field names are limited to 64 UTF-8 bytes, and SchemaBuilder enforces the limit before sending the request.
The gRPC index client does not provide document operations; the
2026-07documents surface is REST-only.Is now populated in namespace descriptions.
The grpc overload narrows the return type so index.documents type-checks under mypy and pyright.
Assistant operation and Admin model names are now importable from the top-level pinecone package.
The SDK is tested and classified on Python 3.10 through 3.14; its Python requirement floor remains 3.10.
NotFoundError is now documented among rerank exceptions for unknown model names; ForbiddenError applies when a model exists but the project cannot use it.
Now reaches the transport that opens the socket, so the setting takes effect.
pinecone 9108 changes
Breaking changes 27
The default changes from 2.0 to 0.25; the value is now the minimum delay floor in the decorrelated-jitter formula, not an exponential multiplier.
REST now counts
max_retriesas retries after the initial attempt, matching gRPC; N retries allow up to N+1 total requests.Makes name nullable and removes the unused description field.
Removes the dead description parameter because the server does not accept it.
Enforces an 80-character API key name limit.
Cancelled and Timeout expired errors from the gRPC backend are raised as PineconeTimeoutError instead of grpc.RpcError.
Rejects top_k values greater than 10000 client-side.
Rejects limit values below 1 client-side.
Polling raises IndexTerminatedError when an index enters Terminating or Disabled instead of waiting for the operator timeout.
Rejects combining type=rerank with a vector_type argument.
Rejects top_n values below 1 client-side with ValidationError.
Removes the nonfunctional filter parameter; calls passing filter now raise TypeError.
Removes the nonfunctional filter parameter; calls passing filter now raise TypeError.
Rejects empty ids lists.
Rejects records with a non-string, empty, or null-byte-containing _id before making the HTTP call.
The legacy plugin class has no v9 equivalent; use pc.assistants directly instead of manually instantiating Assistant.
Batched upsert captures exhausted batch failures in the returned UpsertResponse instead of raising; inspect response.has_errors or failed_items.
There is no grpc extra to install, and grpcio or grpcio-tools dependencies are not required; the transport ships in the base pinecone package.
Response objects are msgspec.Struct instances rather than dicts; field access is unchanged, but dict(idx) raises. Use msgspec.structs.asdict(idx) when a dict is needed.
Assistant is included in the core client; its runtime methods are unchanged, and Assistant improvements ship with the main SDK.
The old Assistant plugin import paths are removed; import Assistant models from pinecone.models.assistant instead.
The assistant plugin import tree and directly constructed plugin class are removed; use the built-in assistant API through
pc.assistants.Deep import paths under pinecone.core.client.api no longer resolve; use top-level pinecone imports.
Assistant model imports move to this path from pinecone_plugins.assistant.*.
Python 3.10 or newer is required; Python 3.9 is no longer supported.
Retry configuration moves from the retries argument to a RetryConfig struct with max_retries.
Pass a RetryConfig instance through retry_config when constructing the client; the old retries keyword is not shimmed.
Security 2
Validates collection resource names client-side for length and allowed characters.
Validates project name length and null bytes, and refuses negative max_pods.
Deprecations 4
The field keyword remains supported as a deprecated alias for fields and is planned for removal in a future release.
The async client is renamed to AsyncPinecone; PineconeAsyncio remains available as a deprecated alias.
Use the lowercase pc.index method to get a data-plane index; pc.Index() remains as a deprecated shim.
PineconeAsyncio is a deprecated alias for AsyncPinecone.
New APIs and options 23
Bulk import operations are now available on
GrpcIndex, includingcancel_import.Bulk import operations are now available on
GrpcIndex, includingdescribe_import.Bulk import operations are now available on
GrpcIndex, includinglist_imports.Bulk import operations are now available on
GrpcIndex, includinglist_imports_paginated.Bulk import operations are now available on
GrpcIndex, includingstart_import.Accepts a single
query=request body as aSearchQueryor plainMapping; passing it with direct kwargs or with the wrong type raisesTypeError.HTTP 429 responses now raise a dedicated
ApiErrorsubclass, exported frompinecone.errorsand the top-levelpineconenamespace.A
RateLimitExceptionalias is available for the new throttling exception.The backcompat shim now accepts messages= to match the deprecated v8 signature.
Accepts sparse and hybrid vector query dictionaries alongside dense lists, and validates and normalizes dictionary keys client-side.
Accepts sparse and hybrid vector query dictionaries alongside dense lists, and validates and normalizes dictionary keys client-side.
Exposes private endpoint hosts returned by the backend.
Uses API version v202604, corrects query parameter names and pagination-token parsing, and adds page_size.
Exposes private_host, source_collection, source_backup_id, and cmek_id in preview index responses.
Adds error_message to represent read capacity failure states.
Renames field to fields to support multiple field names; field remains a deprecated alias.
Backup operations are available under the pc.backups namespace.
Collection operations are available under pc.collections; legacy client methods remain as forwarding shims.
Inference operations are available under the pc.inference namespace.
Batched upsert accepts max_concurrency to cap in-flight batches; the accepted range is 1–64.
Resource-oriented namespaces group control-plane methods under resources, including indexes, collections, backups, inference, and assistant; flat v8 method names remain aliases.
A namespace for early-access and public-preview features is introduced, beginning with document upsert and full-text search; its signatures and behavior may change in any minor SDK release.
Index create and delete wait for the index to reach its end state without an upper bound unless timeout is passed; timeout=-1 returns once the request is accepted.
Performance 2
GrpcIndex is backed by a compiled Rust extension instead of Python grpcio; the data-plane interface is unchanged.
Vector operations are significantly faster, including batch upserts and large queries; benchmark results are directional, not a guarantee.
Behavior and default changes 15
Bulk operations automatically reduce per-host in-flight requests under throttling and recover after successes;
max_concurrencyremains the ceiling.Namespace fan-out is capped at 10 in-flight requests instead of issuing one unbounded request per namespace.
The namespace emits DEBUG records for concurrency adjustments and an INFO record the first time a host is throttled.
The namespace emits DEBUG records for throttled retry attempts, including status, host, attempt count, and computed delay.
REST and gRPC retries now use decorrelated jitter, spreading retries across time instead of bunching them together.
Widens tags from dict[str, str] to dict[str, Any] and exposes the actual schema field.
Removes the hardcoded limit=10 default so backend-default pagination is used.
Makes host optional to handle null values during creation and Terminating states.
Header and tag inputs accept Mapping[str, str], and read-only Index operation parameters accept Mapping[str, Any].
Widens tags from dict[str, str] to dict[str, Any].
The configure boundary now wraps bare schema dictionaries, accepting both fields-wrapped and short field mappings.
Public input parameters previously typed as list[T] now accept Sequence[T], including embed, rerank, and assistant messages and roles.
Allows partial Dedicated patches, such as changing min_replicas without re-specifying max_replicas.
One base-package install now includes sync REST, asyncio REST, and gRPC transports; the grpc and asyncio extras are no longer needed.
With batch_size set, partial failures are recorded on the response instead of raised; single-request upsert retains raise-on-failure behavior.
Tooling 2
Adds an explicit public-surface stub so Jedi-based editors can resolve autocomplete and go-to-definition.
The public surface is fully annotated and passes strict mypy checking, providing complete IDE autocomplete and supporting downstream type-checked codebases.
Fixes and other changes 33
Bare
list[float]queries now use the correct wire shape, so dense-vector queries work.Surfaces schema in decoded BYOC spec responses instead of dropping it.
Makes role and content optional to match streaming assistant-role chunks where values arrive on later chunks.
Exposes the usage field previously dropped during struct decoding.
Includes dimension in the index creation request instead of silently dropping it.
Populates reasoning from evaluate_alignment responses instead of returning it empty.
Adds create_namespace, describe_namespace, delete_namespace, list_namespaces, and list_namespaces_paginated to the gRPC index API.
Omits errorMode from the wire payload when error_mode is unspecified, avoiding backend rejection of null.
Widens min and max to int | float | None to match backend parameter values.
Maps the JSON field error_message into error for failed operations.
Forwards the environment parameter to the backend when creating an assistant.
Omits metadata from the request body when it is not provided, avoiding rejection by stricter backends.
Omits description from the request body when it is not provided.
Forwards serverless_read_capacity, which previously was not plumbed through the SDK.
Stops pre-merging tags client-side so partial updates are not overwritten.
With timeout=-1, returns CreateIndexFromBackupResponse directly rather than polling.
Adds the previously omitted preview backup description operation and its async counterpart.
Honors the legacy assistant control host environment variable at client construction.
Honors the legacy assistant data host environment variable at client construction.
Makes replicas, shards, and pods optional to match nullable backend responses.
Treats Terminated and Terminating as terminal assistant states so creation polling exits promptly.
Adds PreviewBooleanField to the schema union so schemas containing it are accepted.
Forwards deployment for pod index patching and completes tag and schema-field validation.
Forwards source_collection, source_backup_id, and cmek_id to the backend when creating preview indexes.
Forwards limit to the server in fetch_page instead of using a hardcoded value.
Makes host optional to match nullable backend responses.
Adds PreviewLegacyIntegerField to the schema union so schemas containing it are accepted.
Makes environment optional to match nullable backend responses.
Rejects negative max_pods before making the HTTP call.
Preserves input namespace order in results so ties break deterministically.
Makes created_at optional to match nullable backend responses.
Makes usage optional to handle null values in streaming responses.
Drops the redundant id key when _id is present to avoid backend 400 responses.
pinecone 829 changes
Breaking changes 2
The minimum protobuf version is now 6.33.0 to address a denial-of-service vulnerability affecting users of the grpc extras and PineconeGRPC client.
GRPC methods no longer apply a default namespace; when namespace=None, it is omitted from requests so the API can handle namespace defaults.
New APIs and options 21
ByocSpec accepts optional read_capacity configuration for BYOC indexes, with OnDemand and Dedicated modes.
ByocSpec accepts an optional schema field for configuring metadata schema fields.
Adds optional max_candidates to cap exact-distance reranking candidates and improve recall on dedicated read node dense indexes.
Adds optional max_candidates to cap exact-distance reranking candidates and improve recall on dedicated read node dense indexes.
Adds optional scan_factor to widen the IVF scan and trade latency for higher recall on dedicated read node dense indexes.
Adds optional scan_factor to widen the IVF scan and trade latency for higher recall on dedicated read node dense indexes.
Adds an exported type for metadata schema field configuration with a filterable flag.
Adds exported types for OnDemand and Dedicated read capacity configuration, including dedicated capacity and manual scaling settings.
Update an API key's name and roles through the Admin API.
Create namespaces programmatically in serverless indexes, optionally providing schema configuration; pod-based indexes are not supported.
Fetch vectors using metadata filters instead of vector IDs, with pagination tokens for retrieving results in batches.
A type-safe fluent utility constructs metadata filters, supporting Pinecone filter operators and compound expressions with & and |.
Search queries can require specified terms to be present in each hit for sparse indexes using the pinecone-sparse-english-v0 integrated embedding model.
Delete organizations through the Admin API.
Update an organization through the Admin API.
Update a project's configuration through the Admin API.
Configure serverless index read capacity as OnDemand or Dedicated, with manual control over dedicated read-node shards and replicas.
Response objects expose API response header information through _response_info for debugging and monitoring.
Configure filterable metadata fields when creating serverless indexes; only fields marked filterable can be used in metadata filters.
Use dry_run to preview how many vectors an update would change before performing it.
The update method now accepts a metadata filter instead of requiring a vector ID, enabling bulk metadata updates across matching vectors.
Performance 2
Direct protobuf field access replaces json_format.MessageToDict, providing approximately 2x faster gRPC response parsing.
The SDK replaces Python's standard json module with orjson, improving request serialization and deserialization performance without requiring code changes.
Tooling 1
Comprehensive type hints and Python 3.10+ type syntax throughout the SDK improve IDE autocomplete and type checking.
Fixes and other changes 3
Fixes an AttributeError when delete receives a non-dict response.
The asyncio delete_namespace() method now returns None gracefully when the server returns an empty response body, instead of crashing with an AttributeError.
The asyncio delete() method now returns None gracefully when the server returns an empty response body, instead of crashing with an AttributeError.