Api-Key
header that specifies a valid API key and must be encoded as JSON with the Content-Type: application/json
header.
https://{index_host}/{operation}
. The Python and Node.js clients construct these URLs for you. However, when using the API directly, you must explicitly specify them.
You can get index URLs in the Pinecone console or using the describe_index
operation. For more details, see Get an index endpoint.
https://api.pinecone.io
. You use this URL regardless of the cloud environment where an index is hosted.