---
updatedAt: 2026-07-29T20:10:58.000Z
agentTools:
  projectIndex: https://docs.arcadia.com/llms.txt
---

# List API Keys

Returns a paginated list of API keys within the caller's organization, scoped to the Business Units the caller is permitted to access.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "description": "Plug API",
    "title": "Plug API",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.arcadia.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "description": "This API uses OAuth2 with the client credentials flow using the ['Create an Access Token'](ref:create-access-token) endpoint. API keys can be retrieved from the [Dashboard](https://dashboard.arcadia.com/).",
        "flows": {
          "clientCredentials": {
            "scopes": {},
            "tokenUrl": "/oauth2/token"
          }
        }
      }
    },
    "parameters": {
      "arcVersionInHeaderParam": {
        "name": "Arcadia-Version",
        "in": "header",
        "example": "2024-02-21",
        "description": "The Arcadia-Version for the request",
        "required": true,
        "schema": {
          "type": "string",
          "default": "2024-02-21"
        }
      }
    },
    "schemas": {
      "BusinessUnitRef": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier of the business unit."
          },
          "name": {
            "type": "string",
            "description": "The name of the business unit. `null` for business units outside the caller's scope.",
            "nullable": true
          }
        },
        "description": "The business units assigned to this user. `name` will be `null` for business units the caller is not assigned to."
      },
      "PageMetadata": {
        "required": [
          "number",
          "size",
          "totalElements",
          "totalPages"
        ],
        "type": "object",
        "properties": {
          "number": {
            "type": "integer",
            "format": "int64"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "totalElements": {
            "type": "integer",
            "format": "int64"
          },
          "totalPages": {
            "type": "integer",
            "format": "int64"
          }
        },
        "description": "Specifies which page of results to return; this is 0-indexed"
      },
      "PublicPagedPlugApiKeyResource": {
        "required": [
          "apiKeys",
          "page"
        ],
        "type": "object",
        "properties": {
          "apiKeys": {
            "type": "array",
            "description": "An array of API key objects.",
            "items": {
              "$ref": "#/components/schemas/PublicPlugApiKeyResource"
            }
          },
          "page": {
            "$ref": "#/components/schemas/PageMetadata"
          }
        }
      },
      "PublicPlugApiKeyResource": {
        "required": [
          "businessUnits",
          "clientId",
          "clientSecret",
          "createdAt",
          "createdBy",
          "name"
        ],
        "type": "object",
        "properties": {
          "businessUnits": {
            "type": "array",
            "description": "Business units associated with this API key.",
            "items": {
              "$ref": "#/components/schemas/BusinessUnitRef"
            }
          },
          "clientId": {
            "type": "string",
            "description": "The unique identifier for the API key."
          },
          "clientSecret": {
            "type": "string",
            "description": "The secret associated with the API key. If null, the secret could not be decrypted and the client must be re-created.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "The timestamp indicating when this API key was created.",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string",
            "description": "User or system responsible for creating the API key."
          },
          "name": {
            "type": "string",
            "description": "The name for the API key."
          }
        }
      }
    }
  },
  "security": [
    {
      "OAuth2": []
    }
  ],
  "paths": {
    "/apiKeys": {
      "get": {
        "description": "Returns a paginated list of API keys within the caller's organization, scoped to the Business Units the caller is permitted to access.",
        "operationId": "list-api-keys",
        "parameters": [
          {
            "description": "Zero-based page index (0..N)",
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer",
              "default": 0
            }
          },
          {
            "description": "The size of the page to be returned",
            "in": "query",
            "name": "size",
            "schema": {
              "type": "integer",
              "default": 20
            }
          },
          {
            "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
            "in": "query",
            "name": "sort",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "$ref": "#/components/parameters/arcVersionInHeaderParam"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicPagedPlugApiKeyResource"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List API Keys",
        "tags": [
          "API Keys"
        ]
      }
    }
  }
}
```