---
title: "List active API keys"
method: GET
path: "/auth/keys"
tags: ["authentication"]
---

# List active API keys

`GET /auth/keys`

## Request

- Base URL: `https://api.whoisgeni.us` (the document declares no server; this is the origin it was published from)
- URL: `https://api.whoisgeni.us/auth/keys`
- Auth: HTTP bearer

List all active API keys for the authenticated user.

Raw key values are never included in list responses.

## Response `200`

List of API keys (without raw values)

- ApiResponseApiKeyListResponse
  - `data` ApiKeyListResponse: Response body listing all API keys for a user.
    - `keys` ApiKeyResponse[], required
      - `id` string, uuid, required
      - `name` string, required
      - `key_prefix` string, required
      - `created_at` string, date-time, required
      - `is_active` boolean, required
      - `raw_key` string, nullable
  - `error` ErrorDetail: Structured error information for API error responses. Attributes: code: Machine-readable error code (e.g. "JOB_NOT_FOUND"). message: Human-readable error description. details: Optional additional context for debugging.
    - `code` string, required
    - `message` string, required
    - `details` object, nullable
  - `meta` object, nullable

## Other responses

- `401`: Unauthorized — missing or invalid API key/JWT.

---

[API](https://skmtc.dev/whoisgeni/apis/whoisgenius.md) · [All operations](https://skmtc.dev/whoisgeni/apis/whoisgenius/llms.txt) · [OpenAPI document](https://skmtc.dev/whoisgeni/apis/whoisgenius/revisions/707f1c34f6b3?raw)
