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

# Get all memories for the authenticated user



## OpenAPI

````yaml get /memory
openapi: 3.0.0
info:
  title: ClearTalk API
  description: The ClearTalk API Documentation
  version: '1.0'
  contact:
    name: Developer Support
    email: devsupport@cleartalk.ai
servers:
  - url: https://api.cleartalk.ai
    description: ClearTalk AI API Server
security: []
tags: []
paths:
  /memory:
    get:
      tags:
        - Memory
      summary: Get all memories for the authenticated user
      operationId: MemoryController_findAll
      parameters:
        - name: page
          required: false
          in: query
          schema:
            type: number
        - name: limit
          required: false
          in: query
          schema:
            type: number
        - name: cleartalkEnabled
          required: false
          in: query
          schema:
            type: boolean
        - name: search
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Memories retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      memories:
                        type: array
                        items:
                          $ref: '#/components/schemas/Memory'
                      total:
                        type: number
                      page:
                        type: number
                      limit:
                        type: number
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      security:
        - apiKey: []
components:
  schemas:
    Memory:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the memory
          example: '1'
        name:
          type: string
          description: Name of the memory
          example: Customer Support Memory
        created_at:
          type: string
          description: ISO timestamp when the memory was created
          example: '2024-01-01T00:00:00.000Z'
        user_id:
          type: string
          description: Unique identifier for the user who owns the memory
          example: '1'
        memory_duration:
          type: object
          description: Duration setting for the memory (null indicates no duration limit)
          example: null
        uuid:
          type: string
          description: UUID of the memory
          example: 550e8400-e29b-41d4-a716-446655440000
        memory_cleartalk_id:
          type: string
          description: cleartalk memory ID
          example: cleartalk_memory_123
        cleartalk_user_id:
          type: string
          description: cleartalk user ID
          example: cleartalk_user_123
      required:
        - id
        - name
        - created_at
        - user_id
        - memory_duration
        - uuid
        - memory_cleartalk_id
        - cleartalk_user_id
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````