Skip to main content
All requests to the Pinecone Assistant API must contain a valid API key for the target project.

Get an API key

Create a new API key in the Pinecone console, or use the connect widget below to generate a key.
Copy your generated key:

Initialize a client

When using a Pinecone SDK, initialize a client object with your API key and then reuse the authenicated client in subsquent function calls. For example:

Add headers to an HTTP request

All HTTP requests to the Pinecone Assistant API must contain an Api-Key header that specifies a valid API key and must be encoded as JSON with the Content-Type: application/json header. For example:
curl