---
title: "List API keys"
method: GET
path: "/v1/api-keys"
---

# List API keys

`GET /v1/api-keys`

## Request

- Base URL: `https://api.runbear.io`
- URL: `https://api.runbear.io/v1/api-keys`
- Auth: HTTP bearer

List the organization's API keys. Never returns the secret token. Requires a key with the manage-API-keys capability.

## Response `200`

Default Response

- object
  - `apiKeys` ApiKey[], required
    - `id` string, uuid, required: Unique identifier of the API key
    - `description` string, nullable, required: Human-readable label for the key
    - `canChat` boolean, required: Whether the key may run threads, chat, and upload files
    - `canManageAgents` boolean, required: Whether the key may create/update/delete agents and org configuration
    - `canManageApiKeys` boolean, required: Whether the key may create/list/revoke the organization's API keys
    - `allowedAgentIds` string[], required: Agent (App) ids the key is restricted to. Empty = all agents.
    - `createdAt` string, required: ISO 8601 creation timestamp
    - `lastUsedAt` string, nullable, required: ISO 8601 timestamp the key was last used, if ever

---

[API](https://skmtc.dev/runbear/apis/runbear-api.md) - [All operations](https://skmtc.dev/runbear/apis/runbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runbear/apis/runbear-api/revisions/c6a9c3066a5a?raw)
