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

# List API keys

`GET /api/keys`

## Request

- Base URL: `https://api.wondercal.com`
- URL: `https://api.wondercal.com/api/keys`
- Auth: HTTP bearer

Returns metadata for all API keys belonging to the authenticated user. Key hashes are never exposed.

## Response `200`

List of API key metadata

- object
  - `data` ApiKeyListItem[]
    - `id` string: API key ID
    - `name` string: Key name
    - `createdAt` string, date-time: ISO 8601 creation timestamp
    - `lastUsedAt` string, date-time, nullable: ISO 8601 timestamp of last use, or null if never used

## Other responses

- `401`: Not authenticated
- `429`: Rate limit exceeded. The Retry-After header indicates how many seconds to wait before retrying.

---

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