Create an API key
Create a new API key for a project. Developers can use the API key to authenticate requests to Pinecone’s Data Plane and Control Plane APIs.
Documentation Index
Fetch the complete documentation index at: https://docs.pinecone.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
An access token must be provided in the Authorization header using the Bearer scheme.
Path Parameters
Project ID
Body
The details of the new API key.
The name of the API key. The name must be 1-80 characters long.
1 - 80"devkey"
The roles to create the API key with. Default is ["ProjectEditor"].
A role that can be assigned to an API key.
Possible values: ProjectEditor, ProjectViewer, ControlPlaneEditor, ControlPlaneViewer, DataPlaneEditor, or DataPlaneViewer.
Response
API key created successfully.
The details of an API key, including the secret. Only returned on API key creation.