> ## 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.

# List entity folds

> Every fold, newest first, including reverted ones (`revertedAt` is set). `decidedBy`
says what applied it: `auto` for a deterministic spelling match, `human` for a fold
you applied, `llm` for a future arbitration tier.




## OpenAPI

````yaml /openapi.yaml get /memory/entities/merges
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:
    get:
      summary: List entity folds
      description: >
        Every fold, newest first, including reverted ones (`revertedAt` is set).
        `decidedBy`

        says what applied it: `auto` for a deterministic spelling match, `human`
        for a fold

        you applied, `llm` for a future arbitration tier.
      operationId: listEntityMerges
      responses:
        '200':
          description: The folds.
          content:
            application/json:
              schema:
                type: object
                properties:
                  merges:
                    type: array
                    items:
                      $ref: '#/components/schemas/EntityMerge'
components:
  schemas:
    EntityMerge:
      type: object
      description: >-
        One reversible fold. The absorbed row is gone from the entity table but
        fully recoverable from here.
      properties:
        id:
          type: string
          format: uuid
        canonicalId:
          type: string
          format: uuid
        canonicalName:
          type: string
          example: Claude Opus 4.8
        sourceId:
          type: string
          format: uuid
          description: The absorbed entity's original id, restored verbatim on revert.
        sourceName:
          type: string
          example: Opus 4.8
        sourceType:
          type: string
          example: agent
        decidedBy:
          type: string
          enum:
            - auto
            - llm
            - human
        score:
          type: number
          nullable: true
        reason:
          type: string
          nullable: true
          example: >-
            identical apart from case and punctuation ("Claude Code" /
            "claude-code")
        createdAt:
          type: string
          format: date-time
        revertedAt:
          type: string
          format: date-time
          nullable: true

````