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

# List Api Keys

`GET /keys`

List all API keys associated with the authenticated user.

Args:
    request (Request): The incoming request object.

Returns:
    List[ListAPIKeysResponse]: A list of API Keys associated with the user.

## Response `200`

Successful Response

- ListAPIKeysResponse[]
  - `prefix` string, required
  - `created_at` string, required
  - `last_used_at` string, nullable
  - `expiration_date` string, nullable

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/d43a05d98a9b/schema)
