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

# List keys

`GET /api/v1/keys`

Retrieves a list of keys

## Query parameters

- `status` string
- `page` integer
- `page_size` integer

## Headers

- `Authentication` string, required

## Response `200`

Paginated key list

- ModelsListKeysResponse — Paginated response containing keys
  - `data` ModelsKeyResponse[]
    - `created_at` integer
    - `discord_id` string
    - `expires_at` integer
    - `hwid` string
    - `id` string
    - `key` string
    - `note` string
    - `script_name` string
  - `meta` ModelsPaginationMeta — Pagination metadata
    - `page` integer
    - `page_size` integer
    - `total` integer
    - `total_pages` integer

## Other responses

- `401` — Missing authentication

---

[API](https://skmtc.dev/getpolsec/apis/polsec-api.md) · [All operations](https://skmtc.dev/getpolsec/apis/polsec-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getpolsec/polsec-api/revisions/f270711e08bf/schema)
