OptionaladditionalHeaders?: HTTPHeadersThe API key for your Pinecone project. You can find this in the Pinecone console.
OptionalassistantRegion?: stringOptional configuration field for specifying a region to use with the assistant APIs. If not specified, the default region of "us" is used.
Optionalcaller?: { model: string; provider?: string }Optional 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').
OptionalcontrollerHostUrl?: stringOptional configuration field for specifying the controller host. If not specified, the client will use the default controller host: https://api.pinecone.io.
OptionalfetchApi?: FetchAPIOptional configuration field for specifying the fetch implementation. If not specified, the client will look for fetch in the global scope.
OptionalmaxRetries?: numberOptional configuration field for specifying the maximum number of retries after the initial request. Defaults to 3.
OptionalsourceTag?: stringOptional sourceTag that is applied to the User-Agent header with all requests.
Optional headers to be included in all requests.