- Control plane (workspace management,
https://api.pinecone.io): send the key directly in theApi-Keyheader. - Data plane (contexts, curation, and queries, your workspace host): exchange the key for a short-lived session token with
POST /auth/login, or send it directly in theApi-Keyheader.
Get an API key
Create an API key in the Pinecone console.Control plane
The control plane is served athttps://api.pinecone.io. Send your Pinecone API key directly in the Api-Key header, with no login exchange.
curl
Data plane
The data plane is served at your deployment’s workspace host, from thenexus_default_workspace_data_console_url output of the install:
Session token
The primary method for data-plane requests. Exchange your API key for a short-lived bearer token withPOST /auth/login, then send that token as Authorization: Bearer <token> on every request.
curl
API key
Alternatively, send your Pinecone API key directly in theApi-Key header, with no login exchange.
curl