---
title: "Your account's API keys, newest first: name, its first characters, when it was made and last used, its requests. Never a key's value: a key is shown once, when it's made (POST /api/auth/api-key/create)"
method: GET
path: "/api/keys"
tags: ["Accounts"]
---

# Your account's API keys, newest first: name, its first characters, when it was made and last used, its requests. Never a key's value: a key is shown once, when it's made (POST /api/auth/api-key/create)

`GET /api/keys`

## Request

- Base URL: `https://agentdrives.com`
- URL: `https://agentdrives.com/api/keys`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Response `200`

Keys

- object
  - `keys` object[], required
    - `id` string, required
    - `name` string, nullable
    - `start` string, nullable
    - `prefix` string, nullable
    - `created_at` string, date-time
    - `last_used` string, date-time, nullable
    - `requests` integer, nullable
    - `expires_at` string, date-time, nullable
    - `enabled` boolean, nullable

## Other responses

- `401`: Error as problem details (RFC 9457) with a machine-readable `error` and a `fix` that says what to do next

## Changes

- **2026-10-20** `94dcaabff4b2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentdrives/apis/agentdrives-api/changes/api/keys/get.md)

---

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