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

# List Keys

`GET /api-keys/`

## Query parameters

- `org_id` string, nullable
- `project_id` string, nullable
- `limit` integer, nullable
- `offset` integer, nullable

## Response `200`

Successful Response

- ApiKeyOut[]
  - `id` string, required
  - `name` string, required
  - `prefix` string, required
  - `last4` string, required
  - `scope` string, required
  - `project_id` string, nullable
  - `project_name` string, nullable
  - `created_at` string, required
  - `last_used_at` string, nullable, required
  - `revoked` boolean, required
  - `org_id` string, nullable
  - `scopes` string[]
  - `source_id` string, nullable
  - `expires_at` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `ac3124ed97ef` — 4 info
  - added the optional property `items/expires_at` to the response with the `200` status
  - added the optional property `items/org_id` to the response with the `200` status
  - added the optional property `items/scopes` to the response with the `200` status
  - added the optional property `items/source_id` to the response with the `200` status

[Change history](https://skmtc.dev/reasonblocks/apis/reasonblocks-control-plane-api/changes/api-keys/get.md)

---

[API](https://skmtc.dev/reasonblocks/apis/reasonblocks-control-plane-api.md) · [All operations](https://skmtc.dev/reasonblocks/apis/reasonblocks-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/reasonblocks/apis/reasonblocks-control-plane-api/revisions/ac3124ed97ef?raw)
