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

# Inject phantom (demo) entities into Memory

> Inserts sample entities for each requested connector directly into the Memory layer (PostgreSQL entity_registry + FalkorDB graph nodes). All entities are tagged 'phantom' and marked with is_phantom=true in the graph. The operation is idempotent — calling it twice updates existing records without creating duplicates.



## OpenAPI

````yaml /api-reference/memory-api.json post /v1/memory/phantom/inject
openapi: 3.1.0
info:
  title: Strattum Memory API
  description: >-
    REST API that serves entity context — profile, timeline, graph, sources and
    formatted context — for agents and UIs. (PRD-003, Workstream 1.3)
  version: 1.0.0
servers: []
security: []
paths:
  /v1/memory/phantom/inject:
    post:
      tags:
        - phantom
      summary: Inject phantom (demo) entities into Memory
      description: >-
        Inserts sample entities for each requested connector directly into the
        Memory layer (PostgreSQL entity_registry + FalkorDB graph nodes). All
        entities are tagged 'phantom' and marked with is_phantom=true in the
        graph. The operation is idempotent — calling it twice updates existing
        records without creating duplicates.
      operationId: phantom_inject_v1_memory_phantom_inject_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhantomInjectRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhantomInjectResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PhantomInjectRequest:
      properties:
        connector_ids:
          items:
            type: string
          type: array
          title: Connector Ids
      type: object
      required:
        - connector_ids
      title: PhantomInjectRequest
      description: Request body for POST /memory/phantom/inject.
    PhantomInjectResponse:
      properties:
        injected:
          type: integer
          title: Injected
        entities:
          items:
            type: string
          type: array
          title: Entities
      type: object
      required:
        - injected
        - entities
      title: PhantomInjectResponse
      description: Response for POST /memory/phantom/inject.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````