---
title: "Set receipt lifecycle status"
method: POST
path: "/api/agent-receipts/:id/status"
tags: ["Agent Receipts"]
---

# Set receipt lifecycle status

`POST /api/agent-receipts/:id/status`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/agent-receipts/:id/status`
- Auth: none declared

Transitions a receipt between lifecycle statuses. Transitioning to active requires full-access scope or ROLE_RECEIPT_PROMOTER (#289), same as promote.

## Path parameters

- `id` string, required

## Query parameters

- `token` string

## Request body

- object
  - `status` 'draft' | 'active' | 'deprecated' | 'archived', required
  - `reason` string
  - `_rev` string, nullable
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Successful response

- object

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
