---
title: "List your API keys in this product."
method: GET
path: "/api/account/keys"
---

# List your API keys in this product.

`GET /api/account/keys`

## Request

- Base URL: `https://okfindex.com`
- URL: `https://okfindex.com/api/account/keys`
- Auth: API key in cookie `__Host-mm-auth`

Never returns the key itself: name, last 4 characters, organization, creation, last use (hourly) and whether it still works.
Returns: { keys }

## Response `200`

{ keys }

- object
  - `keys` object[], required: `id`, `name`, `organizationId`, `last4`, `createdAt`, `lastUsedAt`, `revokedAt`, `active` (false when revoked or stopped by a password change / ending all sessions).

## Other responses

- `401`: invalid_session
- `503`: auth_unavailable

---

[API](https://skmtc.dev/okfindex/apis/okf-index.md) · [All operations](https://skmtc.dev/okfindex/apis/okf-index/llms.txt) · [OpenAPI document](https://skmtc.dev/okfindex/apis/okf-index/revisions/4b13ca3c739f?raw)
