---
title: "List management keys"
method: GET
path: "/v2/management-keys"
tags: ["Management keys"]
---

# List management keys

`GET /v2/management-keys`

Returns management keys in the current workspace, ordered by creation time with the newest key first. The `api_key` and `token_hash` fields are never returned by this endpoint; only `token_prefix` is included.

## Query parameters

- `limit` integer
- `starting_after` string
- `ending_before` string
- `status` 'MANAGEMENT_KEY_STATUS_UNSPECIFIED' | 'MANAGEMENT_KEY_STATUS_ACTIVE' | 'MANAGEMENT_KEY_STATUS_DISABLED' | 'MANAGEMENT_KEY_STATUS_REVOKED'
- `search` string
- `permission_mode` ManagementPermissionMode[]

## Response `200`

OK

- ListManagementKeysResponse
  - `object` string, required — Object discriminator for list responses; always `list`.
  - `data` ManagementKey[], required — Page of management-keys, ordered newest first. `token_hash` and `api_key` are always elided in list responses.
    - `management_key_id` string, required — Canonical key identifier (ULID). Embedded in opaque tokens as `sk-orq-<id>-<secret>`.
    - `name` string, required — Human-readable name shown in the dashboard.
    - `permission_mode` 'MANAGEMENT_PERMISSION_MODE_UNSPECIFIED' | 'MANAGEMENT_PERMISSION_MODE_ALL' | 'MANAGEMENT_PERMISSION_MODE_RESTRICTED' | 'MANAGEMENT_PERMISSION_MODE_READ_ONLY', required
    - `access` object — Per-domain access map. Only populated when `permission_mode` is `MANAGEMENT_PERMISSION_MODE_RESTRICTED`. The authoritative list of valid keys (Domain.id values) is returned by the List management capability catalog endpoint (GET /v2/management-keys/capabilities).
    - `token_prefix` string, required — Displayable prefix for UI listings (e.g. "sk-orq-01HXY..."). Safe to expose.
    - `status` 'MANAGEMENT_KEY_STATUS_UNSPECIFIED' | 'MANAGEMENT_KEY_STATUS_ACTIVE' | 'MANAGEMENT_KEY_STATUS_DISABLED' | 'MANAGEMENT_KEY_STATUS_REVOKED', required
    - `created_by_id` string — Audit: user who created the key.
    - `updated_by_id` string — Audit: user who last updated the key.
    - `created_at` string, date-time, required — Time the key was created.
    - `updated_at` string, date-time, required — Time the key was last updated.
    - `last_used_at` string, date-time — Last authenticated use.
    - `expires_at` string, date-time — Optional expiration. The authenticate hot-path rejects keys whose `expires_at` is in the past. Unset means the key never expires.
  - `has_more` boolean, required — Whether more management-keys are available in the selected pagination direction.

## Changes

> 345 revisions in range; 150 not diffed.

- **2026-08-24** `addad33219df` — 1 breaking, 3 warning
  - the `data/items/access/additionalProperties/` response's property type changed from `integer` to `string`, and format from `enum` to no format for status `200`
  - added the new `ACCESS_LEVEL_NONE` enum value to the `data/items/access/additionalProperties/` response property for the response status `200`
  - added the new `ACCESS_LEVEL_READ` enum value to the `data/items/access/additionalProperties/` response property for the response status `200`
  - added the new `ACCESS_LEVEL_WRITE` enum value to the `data/items/access/additionalProperties/` response property for the response status `200`
- **2026-08-21** `1586760a252f` — 1 breaking, 3 info
  - the `data/items/access/additionalProperties/` response's property type changed from `string` to `integer`, and format from no format to `enum` for status `200`
  - removed the `ACCESS_LEVEL_NONE` enum value from the `data/items/access/additionalProperties/` response property for the response status `200`
  - removed the `ACCESS_LEVEL_READ` enum value from the `data/items/access/additionalProperties/` response property for the response status `200`
  - removed the `ACCESS_LEVEL_WRITE` enum value from the `data/items/access/additionalProperties/` response property for the response status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/orq-ai/apis/orq-ai-api/changes/v2/management-keys/get.md)

---

[API](https://skmtc.dev/orq-ai/apis/orq-ai-api.md) · [All operations](https://skmtc.dev/orq-ai/apis/orq-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/orq-ai/apis/orq-ai-api/revisions/3ddbbbd87b26?raw)
