---
title: "List active API keys"
method: GET
path: "/v1/api-keys"
tags: ["Account"]
---

# List active API keys

`GET /v1/api-keys`

## Request

- Base URL: `https://api.sqai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sqai.com/v1/api-keys`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Query parameters

- `page` integer, nullable
- `limit` integer, nullable

## Response `200`

Successful Response

- union
  - APIKeyInfo[]
    - `id` string, uuid, required
    - `label` string, required
    - `key_prefix` string, required
    - `device_limit` integer, required: Max registered devices for this key on the local runtime path. 0 preserves the plan's unlimited or no-local-runtime behavior.
    - `status` string, required
    - `created_at` string, date-time, required
    - `last_used_at` string, date-time, nullable
    - `expires_at` string, date-time, nullable
  - APIKeyListResponse
    - `api_keys` APIKeyInfo[], required
      - `id` string, uuid, required
      - `label` string, required
      - `key_prefix` string, required
      - `device_limit` integer, required: Max registered devices for this key on the local runtime path. 0 preserves the plan's unlimited or no-local-runtime behavior.
      - `status` string, required
      - `created_at` string, date-time, required
      - `last_used_at` string, date-time, nullable
      - `expires_at` string, date-time, nullable
    - `total` integer, required
    - `page` integer, required
    - `limit` integer, required
    - `pages` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sqai/apis/algenta-control-plane.md) · [All operations](https://skmtc.dev/sqai/apis/algenta-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/sqai/apis/algenta-control-plane/revisions/f30391a81130?raw)
