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

# GET /api/v1/api-keys

`GET /api/v1/api-keys`

## Request

- Base URL: `https://xquik.com`
- URL: `https://xquik.com/api/v1/api-keys`
- Auth: API key in cookie `__Host-xquik_session`

Returns API key metadata without exposing secret key values.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

API key list

- object
  - `keys` ApiKey[], required
    - `id` string, required
    - `name` string, required
    - `prefix` string, required
    - `isActive` boolean, required
    - `createdAt` string, date-time, required
    - `lastUsedAt` string, date-time
  - `hasMore` boolean, required
  - `nextCursor` string

## Other responses

- `400`: Invalid input. A value past its maxLength gets this answer, & the message names the field & its limit.
- `401`: Unauthenticated
- `403`: An API key or OAuth token called a route that needs a dashboard session. Sign in at dashboard.xquik.com/account instead.
- `429`: Too many requests right now. Each user gets 500 reads a second. Each minute allows 120 writes & 60 deletes. `x_api_rate_limited` means X limits this read for now. Neither answer costs anything. Wait for the seconds in `Retry-After`, then retry.
- `500`: Unexpected error.
- `default`: Unexpected error.

## Changes

- **2026-10-20** `45942c75fdc2`: 12 warning
  - added the new `topup_in_progress` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `topup_in_progress` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `topup_in_progress` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `topup_in_progress` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …8 more

[Operation history](https://skmtc.dev/xquik-dev/apis/xquik-api/changes/api/v1/api-keys/get.md)

---

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