Get an API key
Create a new API key in the Pinecone console, or use the connect widget below to generate a 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 anApi-Key
header that specifies a valid API key and must be encoded as JSON with the Content-Type: application/json
header. For example:
curl