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

# Get entity source map

> Returns detailed source provenance — which data systems contributed to this entity and via which match type.



## OpenAPI

````yaml /api-reference/memory-api.json get /v1/memory/entity/{entity_id}/sources
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/entity/{entity_id}/sources:
    get:
      tags:
        - memory
      summary: Get entity source map
      description: >-
        Returns detailed source provenance — which data systems contributed to
        this entity and via which match type.
      operationId: get_sources_v1_memory_entity__entity_id__sources_get
      parameters:
        - name: entity_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Entity Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourcesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SourcesResponse:
      properties:
        entity_id:
          type: string
          title: Entity Id
        sources:
          items:
            $ref: '#/components/schemas/SourceRecord'
          type: array
          title: Sources
        count:
          type: integer
          title: Count
      type: object
      required:
        - entity_id
        - sources
        - count
      title: SourcesResponse
      description: Response for GET /entity/{entity_id}/sources.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SourceRecord:
      properties:
        source_system:
          type: string
          title: Source System
        source_id:
          type: string
          title: Source Id
        entity_id:
          type: string
          title: Entity Id
        match_type:
          type: string
          title: Match Type
        matched_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Matched At
      type: object
      required:
        - source_system
        - source_id
        - entity_id
        - match_type
        - matched_at
      title: SourceRecord
      description: A single source provenance record.
    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

````