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

# List entities by type

> Returns a paginated list of entities filtered by ``entity_type``. Results are sorted by last updated (descending).



## OpenAPI

````yaml /api-reference/memory-api.json get /v1/memory/entities
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/entities:
    get:
      tags:
        - memory
      summary: List entities by type
      description: >-
        Returns a paginated list of entities filtered by ``entity_type``.
        Results are sorted by last updated (descending).
      operationId: list_entities_v1_memory_entities_get
      parameters:
        - name: entity_type
          in: query
          required: true
          schema:
            type: string
            description: Entity type to filter by (e.g. Customer)
            title: Entity Type
          description: Entity type to filter by (e.g. Customer)
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 500
            minimum: 1
            default: 100
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: page
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
              - type: 'null'
            description: Page number (1-based). Overrides offset.
            title: Page
          description: Page number (1-based). Overrides offset.
        - name: page_size
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 500
                minimum: 1
              - type: 'null'
            description: Items per page.
            title: Page Size
          description: Items per page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EntityListResponse:
      properties:
        results:
          items:
            $ref: '#/components/schemas/EntityProfileResponse'
          type: array
          title: Results
        count:
          type: integer
          title: Count
        total:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total
        page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Page
        page_size:
          anyOf:
            - type: integer
            - type: 'null'
          title: Page Size
      type: object
      required:
        - results
        - count
      title: EntityListResponse
      description: Response for GET /entities.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EntityProfileResponse:
      properties:
        entity_id:
          type: string
          title: Entity Id
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
        entity_type:
          type: string
          title: Entity Type
        golden_record:
          additionalProperties: true
          type: object
          title: Golden Record
        source_map:
          additionalProperties:
            type: string
          type: object
          title: Source Map
        confidence_score:
          type: number
          title: Confidence Score
        version:
          type: integer
          title: Version
        tags:
          items:
            type: string
          type: array
          title: Tags
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
      type: object
      required:
        - entity_id
        - external_id
        - entity_type
        - golden_record
        - source_map
        - confidence_score
        - version
        - tags
        - created_at
        - updated_at
      title: EntityProfileResponse
      description: Response for GET /entity/{entity_id}.
    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

````