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

# The graph schema registry with live counts

> The vocabularies the indexer extracts against: entity types and typed-relationship
predicates as registry rows (tier system/user, status active/disabled), edge
relations from the engine, and the LLM proposal review queue (names the extractor
wanted, with occurrence counts).




## OpenAPI

````yaml /openapi.yaml get /memory/schema
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/schema:
    get:
      summary: The graph schema registry with live counts
      description: >
        The vocabularies the indexer extracts against: entity types and
        typed-relationship

        predicates as registry rows (tier system/user, status active/disabled),
        edge

        relations from the engine, and the LLM proposal review queue (names the
        extractor

        wanted, with occurrence counts).
      operationId: getSchema
      responses:
        '200':
          description: >-
            Entity types, relations, predicates with counts, and pending
            proposals.
          content:
            application/json:
              schema:
                type: object
                properties:
                  entityTypes:
                    type: array
                    items:
                      allOf:
                        - $ref: '#/components/schemas/SchemaEntry'
                        - type: object
                          properties:
                            count:
                              type: integer
                              description: Entities currently extracted under this type.
                              example: 12
                  relations:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          example: mention
                        description:
                          type: string
                        count:
                          type: integer
                  predicates:
                    type: array
                    items:
                      allOf:
                        - $ref: '#/components/schemas/SchemaEntry'
                        - type: object
                          properties:
                            count:
                              type: integer
                              description: Typed edges currently using this predicate.
                  proposals:
                    type: array
                    description: >-
                      The LLM proposal review queue: names the extractor wanted
                      often enough to surface, with the saved occurrences behind
                      them. Approve or dismiss via the schema id endpoints.
                    items:
                      $ref: '#/components/schemas/SchemaEntry'
components:
  schemas:
    SchemaEntry:
      type: object
      description: One row of the vocabulary registry.
      properties:
        id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
            - entity_type
            - predicate
        name:
          type: string
          example: medication
        description:
          type: string
        tier:
          type: string
          enum:
            - system
            - user
            - proposed
        status:
          type: string
          enum:
            - active
            - disabled
            - dismissed
        occurrences:
          type: integer
          description: How many extraction runs suggested this name (proposals only).
        examples:
          type: array
          description: >-
            The saved occurrences behind a proposal (proposals only).
            Entity-type proposals carry `entity`; predicate proposals carry
            `from`/`to`/`confidence`. Approval links these into the graph
            without re-indexing.
          items:
            type: object
            properties:
              entity:
                type: string
              from:
                type: string
              to:
                type: string
              confidence:
                type: number
              sourceId:
                type: string

````