---
title: "List all organization and project API keys."
method: GET
path: "/organization/admin_api_keys"
---

# List all organization and project API keys.

`GET /organization/admin_api_keys`

## Request

- Base URL: `https://api.openai.com/v1`
- URL: `https://api.openai.com/v1/organization/admin_api_keys`
- Auth: HTTP bearer

List organization API keys

## Query parameters

- `after` string, nullable: Return keys with IDs that come after this ID in the pagination order.
- `order` 'asc' | 'desc': Order results by creation time, ascending or descending.
- `limit` integer: Maximum number of keys to return.

## Response `200`

A list of organization API keys.

- ApiKeyList
  - `object` 'list', required
  - `data` AdminApiKey[], required
    - `object` 'organization.admin_api_key', required: The object type, which is always `organization.admin_api_key`
    - `id` string, required: The identifier, which can be referenced in API endpoints
    - `name` string, nullable: The name of the API key
    - `redacted_value` string, required: The redacted value of the API key
    - `created_at` integer, required: The Unix timestamp (in seconds) of when the API key was created
    - `expires_at` integer, nullable, required: The Unix timestamp (in seconds) of when the API key expires
    - `last_used_at` integer, nullable: The Unix timestamp (in seconds) of when the API key was last used
    - `owner` object, required
      - `type` string: Always `user`
      - `object` string: The object type, which is always organization.user
      - `id` string: The identifier, which can be referenced in API endpoints
      - `name` string: The name of the user
      - `created_at` integer: The Unix timestamp (in seconds) of when the user was created
      - `role` string: Always `owner`
  - `has_more` boolean, required
  - `first_id` string, nullable
  - `last_id` string, nullable

## Other responses

- `400`: The API key listing parameters are invalid.
- `403`: The caller does not have permission to perform this operation.

## Changes

- **2026-10-06** `487892d3954e`: 2 info
  - added the optional property `error/anyOf[#/components/schemas/Error]/misalignment/review_target` to the response with the `403` status
  - added the optional property `error/misalignment/review_target` to the response with the `400` status
- **2026-10-05** `7f654af7f94f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnistack-sh/apis/openai-api/changes/organization/admin_api_keys/get.md)

---

[API](https://skmtc.dev/omnistack-sh/apis/openai-api.md) - [All operations](https://skmtc.dev/omnistack-sh/apis/openai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnistack-sh/apis/openai-api/revisions/0a26f104d35f?raw)
