---
title: "Returns a list of API keys in the project."
method: GET
path: "/organization/projects/{project_id}/api_keys"
tags: ["Projects"]
---

# Returns a list of API keys in the project.

`GET /organization/projects/{project_id}/api_keys`

## Path parameters

- `project_id` string, required

## Query parameters

- `limit` integer
- `after` string

## Response `200`

Project API keys listed successfully.

- ProjectApiKeyListResponse
  - `object` 'list', required
  - `data` ProjectApiKey[], required
    - `object` 'organization.project.api_key', required — The object type, which is always `organization.project.api_key`
    - `redacted_value` string, required — The redacted value of the API key
    - `name` string, required — The name of the API key
    - `created_at` integer, required — The Unix timestamp (in seconds) of when the API key was created
    - `id` string, required — The identifier, which can be referenced in API endpoints
    - `owner` object, required
      - `type` 'user' | 'service_account' — `user` or `service_account`
      - `user` ProjectUser — Represents an individual user in a project.
        - `object` 'organization.project.user', required — The object type, which is always `organization.project.user`
        - `id` string, required — The identifier, which can be referenced in API endpoints
        - `name` string, required — The name of the user
        - `email` string, required — The email address of the user
        - `role` 'owner' | 'member', required — `owner` or `member`
        - `added_at` integer, required — The Unix timestamp (in seconds) of when the project was added.
      - `service_account` ProjectServiceAccount — Represents an individual service account in a project.
        - `object` 'organization.project.service_account', required — The object type, which is always `organization.project.service_account`
        - `id` string, required — The identifier, which can be referenced in API endpoints
        - `name` string, required — The name of the service account
        - `role` 'owner' | 'member', required — `owner` or `member`
        - `created_at` integer, required — The Unix timestamp (in seconds) of when the service account was created
  - `first_id` string, required
  - `last_id` string, required
  - `has_more` boolean, required

---

[API](https://skmtc.net/openai/apis/openai-api-2.md) · [All operations](https://skmtc.net/openai/apis/openai-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openai-api-2/versions/2f8ca92b9b18/schema)
