---
title: "Lista API keys ativas do usuário"
method: GET
path: "/v1/api-keys"
tags: ["api-keys"]
---

# Lista API keys ativas do usuário

`GET /v1/api-keys`

## Response `200`

Lista (somente metadados, nunca o segredo)

- ApiKeyListItem[]
  - `id` string, uuid, required
  - `name` string, required
  - `prefix` string, required
  - `lastFour` string, nullable
  - `mode` 'LIVE', required
  - `scope` string, required
  - `createdAt` string, date-time, required
  - `lastUsedAt` string, date-time, nullable
  - `expiresAt` string, date-time, nullable
  - `expired` boolean
  - `ipAllowlist` string, nullable
  - `rotatedFromId` string, uuid, nullable

## Other responses

- `401` — Token ausente ou inválido

## Changes

- **2026-07-15** `174c89e36a13` — 1 info
  - removed the `TEST` enum value from the `items/mode` response property for the response status `200`
- **2026-05-25** `4e426b85f784` — 2 breaking, 1 warning, 13 info
  - the response property `items/lastFour` became nullable for the status `200`
  - the response property `items/lastUsedAt` became nullable for the status `200`
  - deleted the `query` request parameter `mode`
  - api tag `api-keys` added
  - …12 more

[Change history](https://skmtc.dev/ararahq/apis/ararahq-api/changes/v1/api-keys/get.md)

---

[API](https://skmtc.dev/ararahq/apis/ararahq-api.md) · [All operations](https://skmtc.dev/ararahq/apis/ararahq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ararahq/ararahq-api/revisions/174c89e36a13/schema)
