---
title: "Undo a consolidation action."
method: POST
path: "/v1/consolidation/undo"
---

# Undo a consolidation action.

`POST /v1/consolidation/undo`

## Request

- Base URL: `https://api.cortexplus.io`
- URL: `https://api.cortexplus.io/v1/consolidation/undo`
- Auth: HTTP bearer

Undo a reversible action from a conversation turn. Requires the Subscription plan. Requires the cortex.write scope.

## Request body

- object
  - `actionId` string, required

## Response `200`

Successful response.

- object
  - `action` object, required
    - `id` string, required
    - `type` string, required
    - `status` 'applied' | 'failed' | 'undone', required
    - `summary` string, required
    - `nodeId` string, nullable, required
    - `undoable` boolean, required

## Other responses

- `402`: The account needs the Subscription plan.
- `default`: Request failed.

---

[API](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api.md) · [All operations](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/revisions/2d04f1593663?raw)
