> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memloom.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Undo an entity fold

> Restores the absorbed entity with its original id, type, vector and creation time,
repoints exactly the edges the fold moved, reactivates exactly the edges it
deactivated, and removes the alias. The original id matters because deactivated edges
still point at it.




## OpenAPI

````yaml /openapi.yaml post /memory/entities/merges/{id}/revert
openapi: 3.1.0
info:
  title: memloom local API
  version: 0.1.0
  description: >
    The HTTP API served by the `memloom serve` daemon on your machine. The CLI,
    the MCP server,

    and the viewer all route through this API. The daemon is the single owner of
    the store, so

    every client shares one consistent view of your memories.


    No authentication: the daemon binds to `127.0.0.1` only and is reachable
    solely from your

    own machine. Browser clients on other localhost ports are allowed via CORS.
servers:
  - url: http://127.0.0.1:4319
    description: Local memloom daemon
security: []
paths:
  /memory/entities/merges/{id}/revert:
    post:
      summary: Undo an entity fold
      description: >
        Restores the absorbed entity with its original id, type, vector and
        creation time,

        repoints exactly the edges the fold moved, reactivates exactly the edges
        it

        deactivated, and removes the alias. The original id matters because
        deactivated edges

        still point at it.
      operationId: revertEntityMerge
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Reverted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    example: true
        '400':
          description: The fold was already reverted.
        '404':
          description: No such fold.

````