---
title: "Consume a recovery code (recovery ceremony)"
method: POST
path: "/agent/v1/control-plane/recovery/consume"
tags: ["ControlPlane"]
---

# Consume a recovery code (recovery ceremony)

`POST /agent/v1/control-plane/recovery/consume`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/agent/v1/control-plane/recovery/consume`
- Auth: none declared

Mints a session with amr=recovery_code, which cannot perform high-stakes ops; the user must enrol a passkey before admin actions resume.

## Request body

- object
  - `code` string, required

## Response `200`

Recovery session minted

- object

## Other responses

- `401`: Invalid or used code

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
