---
title: "List all API keys for the authenticated user"
method: GET
path: "/v1/auth/keys"
tags: ["v1 auth keys"]
---

# List all API keys for the authenticated user

`GET /v1/auth/keys`

Retrieve all API keys for the authenticated user.
    
    This endpoint:
    - Validates the current API key authentication
    - Returns list of all API keys for the user (without the actual key values)
    - Includes metadata like creation time and last usage
    
    **Authentication**: Requires valid API key in Authorization header

## Response `200`

Successful Response

- ListApiKeysResponse
  - `api_keys` ApiKeyInfo[], required — List of API keys
    - `id` string, required — Unique identifier for the API key
    - `org_id` string, required — Organization ID
    - `user_id` string, required — User ID
    - `label` string, nullable — Label for the API key
    - `created_at` string, required — Creation timestamp
    - `last_used_at` string, nullable — Last usage timestamp
  - `success` boolean — Indicates successful retrieval

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/elicitlabs/apis/elicit-labs-api.md) · [All operations](https://skmtc.net/elicitlabs/apis/elicit-labs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elicitlabs/elicit-labs-api/revisions/27701839a070/schema)
