GET
/
admin
/
api-keys
/
{api_key_id}
PINECONE_ACCESS_TOKEN="YOUR_ACCESS_TOKEN"
PINECONE_API_KEY_ID="3fa85f64-5717-4562-b3fc-2c963f66afa6"

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": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "string",
  "project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "roles": [
    "ProjectEditor"
  ]
}
PINECONE_ACCESS_TOKEN="YOUR_ACCESS_TOKEN"
PINECONE_API_KEY_ID="3fa85f64-5717-4562-b3fc-2c963f66afa6"

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": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "string",
  "project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "roles": [
    "ProjectEditor"
  ]
}

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
required

API key ID

Response

200
application/json

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

The details of an API key, without the secret.