---
title: "List Api Keys"
method: GET
path: "/v1/apikeys/"
tags: ["API Keys"]
---

# List Api Keys

`GET /v1/apikeys/`

## Request

- Base URL: `https://api.lumethic.com`
- URL: `https://api.lumethic.com/v1/apikeys/`
- Auth: `OAuth2PasswordBearer` (a scheme the document does not define)

List all API keys for your current account.

Retrieve metadata for all API keys associated with your account, including active and
expired keys. Use this to audit key usage and manage key lifecycle.

**Authentication Required**: Valid JWT token or API key

**Response**: Returns an array of API key metadata objects. Note: raw key values are
never returned after creation — only the prefix is shown for identification.

**Status Codes**:
- 200: List of API keys returned

## Headers

- `X-API-Key` string, nullable

## Response `200`

List of API keys

- APIKeyInfo[]
  - `id` string, uuid, required: Unique identifier for the API key
  - `prefix` string, required: Key prefix for identification (e.g., 'ask_a1b2c3d4')
  - `account_id` string, uuid, required: Account this key is associated with
  - `user_id` string, uuid, required: User who created the key
  - `description` string, nullable, required: User-provided description of the key's purpose
  - `expires_at` string, date-time, required: ISO 8601 timestamp when the key expires
  - `is_active` boolean, required: Whether the key is currently active and usable
  - `last_used_at` string, date-time, nullable, required: ISO 8601 timestamp of last successful authentication with this key
  - `created_at` string, date-time, required: ISO 8601 timestamp when the key was created
  - `updated_at` string, date-time, required: ISO 8601 timestamp when the key was last modified

## Other responses

- `422`: Validation Error

---

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