---
title: "List the workspace's API keys"
method: GET
path: "/workspaces/{id}/api-keys"
---

# List the workspace's API keys

`GET /workspaces/{id}/api-keys`

## Request

- Base URL: `https://creadal.com/api/v1`
- URL: `https://creadal.com/api/v1/workspaces/{id}/api-keys`
- Auth: HTTP bearer

SESSION-ONLY (admin). API keys cannot manage API keys.

## Path parameters

- `id` string, required

## Response `200`

Keys, newest first.

- ApiKeyView[]
  - `id` string
  - `workspaceId` string
  - `label` string
  - `prefix` string
  - `scopes` string[]
  - `lastUsedAt` string, nullable
  - `createdAt` string
  - `revoked` boolean

---

[API](https://skmtc.dev/creadal/apis/creadal-generation-api.md) · [All operations](https://skmtc.dev/creadal/apis/creadal-generation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/creadal/apis/creadal-generation-api/revisions/703dfc723415?raw)
