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

# List API Keys

`GET /v1/api-keys`

List all API keys for the authenticated user. Never returns full tokens, only hints.

## Response `200`

List of API keys

- object
  - `status` string
  - `data` object
    - `api_keys` ApiKey[]
      - `id` string, uuid
      - `name` string, nullable — Optional label for the key
      - `token_hint` string — First 8 characters of the token
      - `active` boolean
      - `created_at` string, date-time
      - `revoked_at` string, date-time, nullable
      - `plain_token` string — Full token — only returned on create and roll responses
    - `total_count` integer

## Other responses

- `401` — Unauthorized
- `500` — Unexpected server error. Retry transient failures with bounded backoff and retain the request ID when contacting support.

---

[API](https://skmtc.net/oilpriceapi/apis/oil-price-api-v1.md) · [All operations](https://skmtc.net/oilpriceapi/apis/oil-price-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oilpriceapi/oil-price-api-v1/versions/5a5ce424cacc/schema)
