OptionaladditionalOptional headers to be included in all requests.
The API key for your Pinecone project. You can find this in the Pinecone console.
OptionalassistantOptional configuration field for specifying a region to use with the assistant APIs. If not specified, the default region of "us" is used.
OptionalcallerOptional caller information that is applied to the User-Agent header with all requests. Used to identify agentic callers using the SDK (e.g., AI coding assistants).
Required model name (e.g., 'gemini', 'claude-code', 'gpt-4').
Optionalprovider?: stringOptional provider identifier (e.g., 'google', 'anthropic', 'openai').
OptionalcontrollerOptional configuration field for specifying the controller host. If not specified, the client will use the default controller host: https://api.pinecone.io.
OptionalfetchOptional configuration field for specifying the fetch implementation. If not specified, the client will look for fetch in the global scope.
OptionalmaxOptional configuration field for specifying the maximum number of retries after the initial request. Defaults to 3.
OptionalsourceOptional sourceTag that is applied to the User-Agent header with all requests.
See
Understanding projects