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

# List API keys

`GET /v1/keys`

Lists all API keys owned by the authenticated user, including workspace associations.

## Query parameters

- `teamID` string

## Response `200`

List of API keys

- KeyResponse[]
  - `_id` string
  - `name` string
  - `enabled` boolean
  - `workspaces` object[]
    - `_id` string
    - `name` string
  - `createdBy` object
    - `fullname` string
  - `lastUsedAt` string, date-time, nullable

## Other responses

- `401` — Missing authentication

---

[API](https://skmtc.dev/liara-cloud/apis/ai-api-keys.md) · [All operations](https://skmtc.dev/liara-cloud/apis/ai-api-keys/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/liara-cloud/ai-api-keys/revisions/bba2d0674527/schema)
