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

# Retrieve the summary of all facts collected

> Retrieve the summary of all facts collected. This is a summary of all facts collected for the provided scope and filters.



## OpenAPI

````yaml https://app.recallio.ai/swagger/v1/swagger.json post /api/Memory/recall-summary
openapi: 3.0.4
info:
  title: Recallio API
  description: API for Recallio.AI
  contact:
    name: Recallio.AI Team
    email: support@recallio.ai
  version: v1
servers:
  - url: https://app.recallio.ai
security:
  - Bearer: []
tags:
  - name: Knowledge
  - name: Memory
  - name: MemoryGraph (Extra Pack)
paths:
  /api/Memory/recall-summary:
    post:
      tags:
        - Memory
      summary: Retrieve the summary of all facts collected
      description: >-
        Retrieve the summary of all facts collected. This is a summary of all
        facts collected for the provided scope and filters.
      operationId: RecallSummary
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecallSummaryRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/RecallSummaryRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RecallSummaryRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SummarizedMemoriesDto'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorReturnClass'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorReturnClass'
components:
  schemas:
    RecallSummaryRequest:
      required:
        - projectId
        - scope
        - userId
      type: object
      properties:
        tags:
          type: array
          items:
            type: string
          description: Optional tags to filter memories by
          nullable: true
          example:
            - preferences
            - ui
        userId:
          minLength: 1
          type: string
          description: User identifier to search memories for
          example: user_123
        projectId:
          minLength: 1
          type: string
          description: Project identifier to search memories within
          example: project_abc
        scope:
          minLength: 1
          type: string
          description: >-
            Search scope: 'user' (user-specific), 'project' (project-wide), or
            'team' (team-wide)
          example: user
      additionalProperties: false
    SummarizedMemoriesDto:
      type: object
      properties:
        content:
          type: string
          description: Summarized content of the memories
          nullable: true
          example: >-
            The user prefers dark mode and wants notifications disabled on
            weekends
        numberOfMemories:
          type: integer
          description: Total number of memories summarized
          format: int32
          example: 5
      additionalProperties: false
    ErrorReturnClass:
      required:
        - error
      type: object
      properties:
        error:
          minLength: 1
          type: string
          description: Error message indicating the specific validation issue
          example: '"Invalid scope type. Must be ''user'', ''project'', or ''team''."'
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````