---
title: "List the calling account's API keys (prefixes only)"
method: GET
path: "/v1/api-keys"
tags: ["account"]
---

# List the calling account's API keys (prefixes only)

`GET /v1/api-keys`

## Request

- Base URL: `https://api.travelminds.ai`
- URL: `https://api.travelminds.ai/v1/api-keys`
- Auth: none declared

Returns each key's id, name, key_prefix, and timestamps. The full secret is never returned — the server only stores its argon2 hash. Sorted newest-first.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ApiKeyOut[]
  - `id` string, required
  - `name` string, nullable
  - `key_prefix` string, required
  - `created_at` string, date-time, nullable
  - `last_used_at` string, date-time, nullable
  - `expires_at` string, date-time, nullable
  - `revoked_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/travelminds/apis/travelmindsai-api-gateway.md) · [All operations](https://skmtc.dev/travelminds/apis/travelmindsai-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/travelminds/apis/travelmindsai-api-gateway/revisions/d05c8634e340?raw)
