# Reveal an API key

> Page: https://docs.plotwork.dev/api/post-user-api-keys-id-reveal. Index of every page: https://docs.plotwork.dev/llms.txt

Shows the full value of one of your keys again, when a sealed copy was kept.

`POST /user/api-keys/{id}/reveal`

## TL;DR

| Question | Answer |
|---|---|
| What does it do? | Reveal an API key. |
| What does it take? | `id` in the path. |
| What does it return? | Status 200 with a body of type [`RevealedApiKey`](https://docs.plotwork.dev/api/schemas.md#revealedapikey). |
| What can go wrong? | `401` not signed in; `403` the request came from an origin that may not make changes; `404` no such key; `409` this key has no sealed copy to show; `429` too many requests; `503` revealing keys is not set up on this server. Every failure uses the one error envelope. |

## What it does

Shows the full value of one of your keys again, when a sealed copy was kept. Audited by key id, never by value.

## Path parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | `string` | yes |  |

## Responses

| Status | Meaning | Body |
|---|---|---|
| 200 | The key, with its full value. | [`RevealedApiKey`](https://docs.plotwork.dev/api/schemas.md#revealedapikey) |
| 401 | Not signed in. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 403 | The request came from an origin that may not make changes. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 404 | No such key. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 409 | This key has no sealed copy to show. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 429 | Too many requests. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 503 | Revealing keys is not set up on this server. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |

## Response body

A 200 answer has the type [`RevealedApiKey`](https://docs.plotwork.dev/api/schemas.md#revealedapikey).

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | `string` | yes |  |
| `key` | `string` | yes | The full key. |

## See also

| Doc | Why |
|---|---|
| [API reference](https://docs.plotwork.dev/api/reference.md) | Every endpoint, and the error envelope |
| [Schemas](https://docs.plotwork.dev/api/schemas.md) | Every request and response type |
| [Tool reference](https://docs.plotwork.dev/mcp/tools.md) | The operations as callable tools |
