Skip to main content
Each Pinecone project has one or more API keys. To make calls to the Pinecone API, you must provide a valid API key for the relevant Pinecone project. This page shows you how to create, view, update, and delete API keys.
If you use custom API key permissions, make sure you target your index by host when performing data operations such as upsert and query.

Create an API key

  1. Open the Pinecone console.
  2. Select your project.
  3. Go to API keys.
  4. Click + API key.
  5. Enter an API key name.
  6. Select the Permissions to grant to the API key. For a description of the permission roles, see Project roles.
    Users on the Starter and Builder plans can set the permissions to All only. To customize the permissions further, upgrade to the Standard or Enterprise plan.
  7. Click Create key.
  8. Copy and save the generated API key in a secure place for future use.
    You cannot view the API key again after you close the dialog.
  9. Click Close.

View project API keys

You can view the API keys for your project:
  1. Open the Pinecone console.
  2. Select your project.
  3. Go to the API keys tab.
You’ll see a list of all API keys for the project, including their names, creation dates, creators, partial values, and permissions.

View API key details

You can view the details of an API key:
  1. Open the Pinecone console.
  2. Select your project.
  3. Go to the API keys tab.
  4. In the row of the API key you want to change, in the Actions column, click ellipsis (…) menu > Settings.
You’ll see the API key’s name and permissions.

Update an API key

Users on the Starter and Builder plans can’t change API key permissions once they’re set. Instead, create a new API key or upgrade to the Standard or Enterprise plan.
If you’re a project owner, you can update an API key’s permissions. To rename a key, use the API.
  1. Open the Pinecone console.
  2. Select your project.
  3. Go to the API keys tab.
  4. In the row of the API key you want to change, in the Actions column, click ellipsis (…) menu > Settings.
  5. Change the permissions for the API key as needed. For information about the different API key permissions, see Project roles.
  6. Click Update.

Delete an API key

If you’re a project owner, you can delete an API key.
  1. Open the Pinecone console.
  2. Select your project.
  3. Go to the API keys tab.
  4. In the row of the API key you want to change, in the Actions column, click ellipsis (…) menu > Delete.
  5. Enter the API key name.
  6. Click Delete API key.
    Deleting an API key is irreversible and immediately disables any applications using the API key.