---
title: "List Api Keys"
method: GET
path: "/api/v1/auth/api-keys"
tags: ["authentication"]
---

# List Api Keys

`GET /api/v1/auth/api-keys`

## Request

- Base URL: `https://calorieapiadmin.com`
- URL: `https://calorieapiadmin.com/api/v1/auth/api-keys`
- Auth: none declared

List all API keys for the authenticated user (requires JWT token).

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ApiKeyResponse[]
  - `id` integer, required
  - `name` string, required
  - `key` string, nullable
  - `is_active` boolean, required
  - `created_at` string, date-time, nullable
  - `last_used_at` string, date-time, nullable
  - `usage_count` integer
  - `product` string

## Other responses

- `422`: Validation Error

---

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