OptionalbatchDocuments per request, 1–1000. Defaults to 50. Keep it at 96 or below for an
index with integrated embedding (a string field that declares embed or
sparseEmbed), which rejects larger requests.
The documents to upsert. An empty array resolves with zero counts and sends nothing.
OptionalmaxRequests in flight at once, 1–64. Defaults to 8.
OptionalonWhat to do when a batch fails. Defaults to collect.
OptionaltotalDeadline in milliseconds for the whole call. Once it elapses no further batches are sent; batches already in flight are awaited rather than cancelled, because dropping a request client-side does not stop Pinecone from applying it. Defaults to no deadline.
Options for a batched document upsert.
Controls request size, concurrency, and how failures are collected.