Skip to main content
All requests to the Pinecone Nexus API authenticate with a valid Pinecone API key for the target project. The Pinecone project is the tenancy boundary.

Get an API key

Create an API key in the Pinecone console.
YOUR_WORKSPACE_HOST is your deployment’s workspace host, from the nexus_default_workspace_data_console_url output of the install.

Session token

The primary method. Exchange your API key for a short-lived bearer token with POST /auth/login, then send that token as Authorization: Bearer <token> on every request.
curl

API key

Alternatively, send your Pinecone API key directly in the X-Pinecone-Api-Key header, with no login exchange.
curl