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

# List Api Keys

`GET /api/v1/api-keys`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/api-keys`
- Auth: none declared

List API keys for the current organization.

Returns all API keys created by users in the organization.
By default, only active (non-revoked) keys are returned.

## Query parameters

- `include_revoked` boolean: Include revoked keys
- `limit` integer: Max records to return
- `offset` integer: Records to skip

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

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