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

# List workspace API keys

`GET /api/workspace/api-keys`

[cloud-only] Returns the list of API keys for the current workspace.

## Response `200`

API key list

- WorkspaceApiKey[]
  - `id` string, required
  - `name` string, required
  - `description` string, required — User-provided description of the key's purpose. Always present in responses; empty string when no description was supplied on create.
  - `prefix` string — First few characters of the key for identification
  - `created_at` string, date-time
  - `last_used_at` string, date-time, nullable
  - `created_by` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

## Changes

- **2026-05-22** `09a5075587c8` — 2 info
  - api operation id `listWorkspaceApiKeys` removed and replaced with `listWorkspaceAPIKeys`
  - added the non-success response with the status `500`
- **2026-05-19** `154b54b72941` — 1 info
  - the response property `items/description` became required for the status `200`
- **2026-05-19** `cc79ecd094b4` — 1 info
  - added the optional property `items/description` to the response with the `200` status
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/workspace/api-keys/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/09a5075587c8/schema)
