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

# List Api Keys

`GET /v1/api-keys`

List all API keys.

## Query parameters

- `customer_id` string, nullable

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- APIKeyResponse[]
  - `id` string, required
  - `customer_id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `scope` string, required
  - `status` string, required
  - `created_at` string, date-time, required
  - `expires_at` string, date-time, nullable, required
  - `last_used_at` string, date-time, nullable, required
  - `api_key` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/knownwell/apis/knownwell-api.md) · [All operations](https://skmtc.net/knownwell/apis/knownwell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/knownwell/knownwell-api/revisions/3cf7fd5ae733/schema)
