> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API Keys

> OpenRouter-style customer API key lifecycle.

Defined in `openapi/public.openapi.yaml`.

Public operations:

* `GET /api/v1/key`
* `GET /api/v1/keys`
* `POST /api/v1/keys`
* `GET /api/v1/keys/{hash}`
* `PATCH /api/v1/keys/{hash}`
* `DELETE /api/v1/keys/{hash}`

Status: June 4 dependent where key/account abstraction depends on platform label association and service disable behavior.

The key secret is returned only once on create. List, get, update, and delete responses return safe key metadata such as `hash`, `name`, `label`, `account_id`, `disabled`, `limit`, `usage`, `limit_remaining`, and timestamps.

Public APIs must not expose platform label ids.
