---
title: "List API keys"
method: GET
path: "/v4/account/api-keys"
tags: ["API key management"]
---

# List API keys

`GET /v4/account/api-keys`

List API keys for the account. Returns key metadata (id, name, permissions, scopes, expiry, `is_active`) but never the secret. Supports status/search filters and optional pagination. Inactive keys are included when `status` is `all` or `inactive`. Permission: `account:apikeys:read`.

## Query parameters

- `status` 'all' | 'active' | 'inactive'
- `search` string
- `page` integer
- `limit` integer

## Response `200`

List of API keys (no secrets). When `limit` > 0, includes pagination `meta`.

- object
  - `success` boolean
  - `data` object[]
    - `id` string, uuid
    - `name` string
    - `permissions` string[]
    - `allowed_subaccounts` string[]
    - `allowed_ips` string[]
    - `expires_at` integer, nullable
    - `is_active` boolean — Whether the key can authenticate requests. Deactivating a key sets this to false without deleting it.
    - `last_used_at` integer, nullable — Unix timestamp of last use. Null if never used.
    - `token_preview` string, nullable
    - `created_at` integer — Unix timestamp of creation.
  - `meta` object — Present when `limit` > 0.
    - `total` integer — Total keys matching the filters (before pagination).
    - `page` integer
    - `limit` integer
    - `totalPages` integer

## Other responses

- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/proxyscrape/apis/proxyscrape-account-api.md) · [All operations](https://skmtc.net/proxyscrape/apis/proxyscrape-account-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/proxyscrape/proxyscrape-account-api/revisions/4e10267785e1/schema)
