API Keys
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.
post/admin/projects/{project_id}/api-keys
Request
- Base URLhttps://api.pinecone.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring uuid required
Project ID
Headers
X-Pinecone-Api-Versionstring required
Required date-based version header
Request body
Example request
{
"name": "devkey",
"roles": [
"ProjectEditor"
]
}Response
API key created successfully.
Example response
{
"key": {
"roles": [
"ProjectEditor"
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.