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

# List API keys

`GET /v1/api-keys`

## Request

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

Returns all API keys for the workspace, including revoked ones.

## Query parameters

- `cursor` string, nullable
- `limit` integer

## Response `200`

Successful Response

- CursorPageApiKeyOut
  - `data` ApiKeyOut[], required
    - `id` string, required: Unique API key ID.
    - `name` string, required: Human-readable label for this key.
    - `key_prefix` string, required: First 8 characters of the key, shown for identification.
    - `created_at` string, date-time, required: ISO-8601 UTC timestamp when this key was created.
    - `last_used_at` string, date-time, nullable: ISO-8601 UTC timestamp of the most recent authenticated request.
    - `revoked_at` string, date-time, nullable: ISO-8601 UTC timestamp when this key was revoked. Null if still active.
  - `next_cursor` string, nullable
  - `has_more` boolean

## Other responses

- `401`: Missing or invalid API key.
- `422`: Validation Error

---

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