---
title: "List API keys"
method: GET
path: "/admin/projects/{project_id}/api-keys"
tags: ["API Keys"]
---

# List API keys

`GET /admin/projects/{project_id}/api-keys`

List all API keys in a project.

## Path parameters

- `project_id` string, uuid, required

## Headers

- `X-Pinecone-Api-Version` string, required

## Response `200`

A list of API keys.

- AdminListApiKeysResponse
  - `data` AdminAPIKey[], required
    - `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.

## Other responses

- `401` — Unauthorized. Possible causes: Invalid API key.
- `500` — Internal server error.
- `4XX` — Unexpected error on request.

---

[API](https://skmtc.net/pinecone/apis/pinecone-api.md) · [All operations](https://skmtc.net/pinecone/apis/pinecone-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinecone/pinecone-api/revisions/35876583485d/schema)
