---
title: "Confirm Compaction"
method: POST
path: "/memories/compact/confirm"
---

# Confirm Compaction

`POST /memories/compact/confirm`

## Request

- Base URL: `https://cathedral-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://cathedral-ai.com/memories/compact/confirm`
- Auth: none declared. Required headers: `authorization`

Execute confirmed merges. For each merge:
- Updates the keep memory with merged_content and merged_importance
- Records dropped IDs in merged_from field
- Deletes the dropped memories
Agent must supply the final merged content — we do not auto-generate it.

## Headers

- `authorization` string, required

## Request body

- CompactConfirm
  - `merges` object[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cathedral-ai/apis/cathedral-memory-service.md) · [All operations](https://skmtc.dev/cathedral-ai/apis/cathedral-memory-service/llms.txt) · [OpenAPI document](https://skmtc.dev/cathedral-ai/apis/cathedral-memory-service/revisions/e40fefc11dcf?raw)
