---
title: "List API keys available to the authenticated account."
method: GET
path: "/apikey/"
tags: ["api-keys"]
---

# List API keys available to the authenticated account.

`GET /apikey/`

## Request

- Base URL: `https://api.capgo.app`
- URL: `https://api.capgo.app/apikey/`
- Auth: API key in header `x-api-key`

List API keys available to the authenticated account so an agent can see existing key names without revealing secret material.

## Response `200`

API keys.

- ApiKeyListEnvelope
  - `data` ApiKey[], required
    - `id` integer, required
    - `key` string, nullable
    - `mode` 'read' | 'write' | 'upload' | 'all', required
    - `name` string, required
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `expires_at` string, date-time, nullable
    - `limited_to_apps` string[]
    - `limited_to_orgs` string[]

## Other responses

- `401`: The API key is missing, invalid, or expired.
- `403`: The API key is valid but lacks the required scope or org access.
- `429`: Too many requests. Back off and retry later.
- `500`: Unexpected Capgo server error.

---

[API](https://skmtc.dev/capgo/apis/capgo-public-api.md) · [All operations](https://skmtc.dev/capgo/apis/capgo-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/capgo/apis/capgo-public-api/revisions/8496acb7a95b?raw)
