Skip to main content
GET
/
admin
/
api-keys
/
{api_key_id}
PINECONE_API_KEY_ID="62b0dbfe-3489-4b79-b850-34d911527c88"
PINECONE_ACCESS_TOKEN="YOUR_ACCESS_TOKEN"

curl -X GET "https://api.pinecone.io/admin/api-keys/$PINECONE_API_KEY_ID" \
     -H "Authorization: Bearer $PINECONE_ACCESS_TOKEN" \
     -H "accept: application/json" \
     -H "X-Pinecone-Api-Version: 2025-04"
{
  "id": "62b0dbfe-3489-4b79-b850-34d911527c88",
  "name": "example-api-key",
  "project_id": "32c8235a-5220-4a80-a9f1-69c24109e6f2",
  "roles": [
    "ProjectEditor"
  ],
  "created_at": "2025-10-22T19:27:21.202955Z"
}
PINECONE_API_KEY_ID="62b0dbfe-3489-4b79-b850-34d911527c88"
PINECONE_ACCESS_TOKEN="YOUR_ACCESS_TOKEN"

curl -X GET "https://api.pinecone.io/admin/api-keys/$PINECONE_API_KEY_ID" \
     -H "Authorization: Bearer $PINECONE_ACCESS_TOKEN" \
     -H "accept: application/json" \
     -H "X-Pinecone-Api-Version: 2025-04"
{
  "id": "62b0dbfe-3489-4b79-b850-34d911527c88",
  "name": "example-api-key",
  "project_id": "32c8235a-5220-4a80-a9f1-69c24109e6f2",
  "roles": [
    "ProjectEditor"
  ],
  "created_at": "2025-10-22T19:27:21.202955Z"
}

Authorizations

Authorization
string
header
required

An access token must be provided in the Authorization header using the Bearer scheme.

Path Parameters

api_key_id
string<uuid>
required

API key ID

Response

The details of the API key, excluding the API key secret.

The details of an API key, without the secret.

id
string<uuid>
required

The unique ID of the API key.

name
string
required

The name of the API key.

project_id
string<uuid>
required

The ID of the project containing the API key.

roles
string[]
required

The roles assigned to the API key.

A role that can be assigned to an API key. Possible values: ProjectEditor, ProjectViewer, ControlPlaneEditor, ControlPlaneViewer, DataPlaneEditor, or DataPlaneViewer.