POST /admin/projects/{project_id}/api-keys

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.

Servers

Path parameters

Name Type Required Description
project_id String Yes

Project ID

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

X-Pinecone-Api-Version String Yes

Required date-based version header

Default value: "2025-10"

Request body fields

Name Type Required Description
name String Yes

The name of the API key. The name must be 1-80 characters long.

roles[] Array No

The roles to create the API key with. Default is ["ProjectEditor"].

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.