---
title: "List API keys"
method: GET
path: "/v1/communities/{communityId}/api-keys"
tags: ["API Keys"]
---

# List API keys

`GET /v1/communities/{communityId}/api-keys`

## Request

- Base URL: `https://api.subo.ai`
- URL: `https://api.subo.ai/v1/communities/{communityId}/api-keys`
- Auth: API key in header `X-API-Key`

List API keys for this community. Key values are never returned. Admin role required.

## Path parameters

- `communityId` string, required

## Response `200`

List of API keys

- object
  - `data` ApiKey[]
    - `id` string
    - `community_id` string
    - `name` string
    - `description` string, nullable
    - `key_prefix` string
    - `is_active` boolean
    - `created_at` string, date-time, nullable
    - `last_used_at` string, date-time, nullable
    - `expires_at` string, date-time, nullable

## Other responses

- `401`: Invalid or missing API key
- `403`: Forbidden — the key or user lacks permission for this resource or operation
- `429`: Rate limit exceeded — wait `retry_after` seconds before retrying. The same value appears in the `Retry-After` header.

---

[API](https://skmtc.dev/subo/apis/subo-api.md) · [All operations](https://skmtc.dev/subo/apis/subo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/subo/apis/subo-api/revisions/12eab2ae4505?raw)
