---
title: "Get My Api Key"
method: GET
path: "/users/me/api-key"
tags: ["users"]
---

# Get My Api Key

`GET /users/me/api-key`

Return the caller's API key details for the active organization.

Only the prefix and timestamps — the key itself is unrecoverable once
generated. Returns ``null`` when no key has been created yet.

## Response `200`

Successful Response

- ApiKeyInfo — Non-secret description of a user's API key for one organization. Deliberately carries no ``key_hash``: the full key is returned exactly once, when it is generated, and only its prefix is retrievable afterwards. No expiry field: ``api_keys`` has no ``expires_at`` column in any deployed environment (verified against staging and production), and nothing in the auth path enforces one — ``_auth_from_api_key`` matches on ``key_hash`` alone. Surfacing an expiry would promise a guarantee that does not exist.
  - `key_prefix` string, nullable
  - `created_at` string, date-time, nullable

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
