Type alias PineconeConfiguration

PineconeConfiguration: {
    additionalHeaders?: HTTPHeaders;
    apiKey: string;
    controllerHostUrl?: string;
    fetchApi?: FetchAPI;
    sourceTag?: string;
}

Type declaration

  • Optional additionalHeaders?: HTTPHeaders

    Optional headers to be included in all requests.

  • apiKey: string

    The API key for your Pinecone project. You can find this in the Pinecone console.

  • Optional controllerHostUrl?: string

    Optional configuration field for specifying the controller host. If not specified, the client will use the default controller host: https://api.pinecone.io.

  • Optional fetchApi?: FetchAPI

    Optional configuration field for specifying the fetch implementation. If not specified, the client will look for fetch in the global scope and if none is found it will fall back to a cross-fetch polyfill.

  • Optional sourceTag?: string

    Optional sourceTag that is applied to the User-Agent header with all requests.