{
  "message": "Enhanced memory search endpoint demonstration with episodic and semantic memory",
  "searches": {
    "episodicMemorySearches": {
      "description": "Searched across stored episodic memory sessions",
      "userPreferenceSearch": {
        "description": "Searched for user preference related memories",
        "query": "user preference",
        "results": {
          "results": [
            {
              "sessionId": "01m620sankh122zqkm9sbz7fg2",
              "summary": "Currently working on memory demonstration with 50% progress\n\nSession started at 2026-10-28T19:46:25.608Z for demo user\n\nAPI key configured and validated successfully",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:40.473Z",
              "score": 0.0002696497831493616
            },
            {
              "sessionId": "01m620sankh122zqkm9sbz7fg2",
              "summary": "Currently working on memory demonstration with 50% progress\n\nSession started at 2026-10-28T19:46:25.608Z for demo user\n\nAPI key configured and validated successfully",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:40.473Z",
              "score": 0.0002696497831493616
            },
            {
              "sessionId": "01m620sankh122zqkm9sbz7fg2",
              "summary": "Currently working on memory demonstration with 50% progress\n\nSession started at 2026-10-28T19:46:25.608Z for demo user\n\nAPI key configured and validated successfully",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:40.473Z",
              "score": 0.0002696497831493616
            },
            {
              "sessionId": "01m620ss2knchvnv0s07zkxrxc",
              "summary": "Demonstrating episodic memory rehydration functionality\n\nTesting search across previous sessions",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:40.473Z",
              "score": 0.000037287270970409736
            },
            {
              "sessionId": "01m620ss2knchvnv0s07zkxrxc",
              "summary": "Demonstrating episodic memory rehydration functionality\n\nTesting search across previous sessions",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:40.473Z",
              "score": 0.000037287270970409736
            }
          ],
          "pagination": {
            "total": 5,
            "page": 1,
            "pageSize": 5,
            "totalPages": 1,
            "hasMore": false
          },
          "_transformDebug": {
            "originalResultCount": 5,
            "transformedResultCount": 5,
            "sampleOriginalResult": {
              "hasText": true,
              "textLength": 165,
              "textPreview": "Currently working on memory demonstration with 50% progress\n\nSession started at 2026-10-28T19:46:25.608Z for demo user\n\nAPI key configured and validated successfully",
              "source": "episodic/01m620sankh122zqkm9sbz7fg2/transcript.txt",
              "score": 0.0002696497831493616
            }
          }
        }
      },
      "allSessionsSearch": {
        "description": "Searched for all agent memory sessions",
        "query": "agent memory sessions",
        "results": {
          "results": [
            {
              "sessionId": "01m620sankh122zqkm9sbz7fg2",
              "summary": "Currently working on memory demonstration with 50% progress\n\nSession started at 2026-10-28T19:46:25.608Z for demo user\n\nAPI key configured and validated successfully",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:41.674Z",
              "score": 0.07182116061449051
            },
            {
              "sessionId": "01m620sankh122zqkm9sbz7fg2",
              "summary": "Currently working on memory demonstration with 50% progress\n\nSession started at 2026-10-28T19:46:25.608Z for demo user\n\nAPI key configured and validated successfully",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:41.674Z",
              "score": 0.07182116061449051
            },
            {
              "sessionId": "01m620sankh122zqkm9sbz7fg2",
              "summary": "Currently working on memory demonstration with 50% progress\n\nSession started at 2026-10-28T19:46:25.608Z for demo user\n\nAPI key configured and validated successfully",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:41.674Z",
              "score": 0.07182116061449051
            },
            {
              "sessionId": "01m620ss2knchvnv0s07zkxrxc",
              "summary": "Demonstrating episodic memory rehydration functionality\n\nTesting search across previous sessions",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:41.674Z",
              "score": 0.02353663183748722
            },
            {
              "sessionId": "01m620ss2knchvnv0s07zkxrxc",
              "summary": "Demonstrating episodic memory rehydration functionality\n\nTesting search across previous sessions",
              "agent": "unknown",
              "entryCount": 0,
              "timelineCount": 0,
              "duration": 0,
              "createdAt": "2026-10-29T00:38:41.674Z",
              "score": 0.02353663183748722
            }
          ],
          "pagination": {
            "total": 5,
            "page": 1,
            "pageSize": 5,
            "totalPages": 1,
            "hasMore": false
          },
          "_transformDebug": {
            "originalResultCount": 5,
            "transformedResultCount": 5,
            "sampleOriginalResult": {
              "hasText": true,
              "textLength": 165,
              "textPreview": "Currently working on memory demonstration with 50% progress\n\nSession started at 2026-10-28T19:46:25.608Z for demo user\n\nAPI key configured and validated successfully",
              "source": "episodic/01m620sankh122zqkm9sbz7fg2/transcript.txt",
              "score": 0.07182116061449051
            }
          }
        }
      }
    },
    "semanticMemorySearches": {
      "description": "Searched across semantic knowledge documents",
      "bestPracticesSearch": {
        "description": "Searched for AI development best practices",
        "query": "AI agents best practices",
        "results": {
          "success": true,
          "documentSearchResponse": {
            "results": [
              {
                "chunkSignature": "f807c2a8f8170e26da97183006068207",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              },
              {
                "chunkSignature": "c648cc15faf867137111966e9b8120f8",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              },
              {
                "chunkSignature": "424c3744907d0b99ce47642226472b3f",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              },
              {
                "chunkSignature": "3c38f9f5974bbd62d3778709d3be7de8",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              },
              {
                "chunkSignature": "a997435461acaa7d95ebecc68c558f72",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              },
              {
                "chunkSignature": "2c0427218374dcc2f470064e5bf34d1f",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              },
              {
                "chunkSignature": "a2d6dea9a73dcbc18f3f0f4180ee27c2",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              },
              {
                "chunkSignature": "7316640739c4f5c6d9cc32179ab99f2f",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              },
              {
                "chunkSignature": "1f08ccd86e9acab8608e661f5815fd15",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.9991415739059448,
                "type": "text/plain"
              }
            ]
          }
        },
        "success": true,
        "resultCount": 9
      },
      "configurationSearch": {
        "description": "Searched for memory configuration settings",
        "query": "memory configuration settings",
        "results": {
          "success": true,
          "documentSearchResponse": {
            "results": [
              {
                "chunkSignature": "18ea7a9400a8c0d98420ba7b97d3d57d",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              },
              {
                "chunkSignature": "96d2617af77ebeb602952867e2026ee9",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              },
              {
                "chunkSignature": "dfc83aa063792cb2c803e89afa11ba89",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              },
              {
                "chunkSignature": "260c0727ded5bebd6544b6ea882d80b1",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              },
              {
                "chunkSignature": "db433bb15797b19de25ff5f2f39f0b20",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              },
              {
                "chunkSignature": "db7b8b7019478f316e91f0cd224a1690",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              },
              {
                "chunkSignature": "4df83a03073d8c1ace6328b2b9e3dec3",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              },
              {
                "chunkSignature": "28e0331fa0ec090e4465c89cef48d916",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              },
              {
                "chunkSignature": "51e115f4618759c33a526cba185a7a24",
                "text": "Memory Configuration Settings\n\nDefault memory retention: 7 days, maximum entries per session: 1000, enable episodic memory: true\n\nconfiguration\n\nmemory\n\nsettings\n\nconfiguration\n\ndemo-smartmemory\n\n2026-10-28T19:47:08.348Z\n\nconfiguration",
                "source": "semantic/01m620tnc3rmkqe9awf7jfm9gt/text.txt",
                "payloadSignature": "a0a4ba3dd8f96640a5d195f4a5f449bbefbeed004bc912ed3c3ad62f67ecff63",
                "score": 0.9550559520721436,
                "type": "text/plain"
              }
            ]
          }
        },
        "success": true,
        "resultCount": 9
      },
      "troubleshootingSearch": {
        "description": "Searched for troubleshooting information",
        "query": "troubleshooting memory issues",
        "results": {
          "success": true,
          "documentSearchResponse": {
            "results": [
              {
                "chunkSignature": "9bd0561a4c8b8ec3071bc19b6c7f1ea8",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.\n\ntroubleshooting\n\ntroubleshooting\n\nmemory\n\nerrors\n\ndemo-smartmemory\n\n2026-10-28T19:47:09.477Z\n\ntroubleshooting",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.9968822002410889,
                "type": "text/plain"
              },
              {
                "chunkSignature": "18d0d059748446f74f83c6e3bc59517a",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.\n\ntroubleshooting\n\ntroubleshooting\n\nmemory\n\nerrors\n\ndemo-smartmemory\n\n2026-10-28T19:47:09.477Z\n\ntroubleshooting",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.9968822002410889,
                "type": "text/plain"
              },
              {
                "chunkSignature": "5d7c838a8ee6cc194d85ebdd37a7adc1",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.\n\ntroubleshooting\n\ntroubleshooting\n\nmemory\n\nerrors\n\ndemo-smartmemory\n\n2026-10-28T19:47:09.477Z\n\ntroubleshooting",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.9968822002410889,
                "type": "text/plain"
              },
              {
                "chunkSignature": "36254136f5223c9a3807728e97e907d0",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.\n\ntroubleshooting\n\ntroubleshooting\n\nmemory\n\nerrors\n\ndemo-smartmemory\n\n2026-10-28T19:47:09.477Z\n\ntroubleshooting",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.9968822002410889,
                "type": "text/plain"
              },
              {
                "chunkSignature": "0d453a87b575c2f0eda64666fd153040",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.\n\ntroubleshooting\n\ntroubleshooting\n\nmemory\n\nerrors\n\ndemo-smartmemory\n\n2026-10-28T19:47:09.477Z\n\ntroubleshooting",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.9968822002410889,
                "type": "text/plain"
              },
              {
                "chunkSignature": "f493c1df5759917c110ba1ea339f7d2b",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.\n\ntroubleshooting\n\ntroubleshooting\n\nmemory\n\nerrors\n\ndemo-smartmemory\n\n2026-10-28T19:47:09.477Z\n\ntroubleshooting",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.9968822002410889,
                "type": "text/plain"
              },
              {
                "chunkSignature": "bdc15c08c045fab8aca5d44187d65dd8",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.\n\ntroubleshooting\n\ntroubleshooting\n\nmemory\n\nerrors\n\ndemo-smartmemory\n\n2026-10-28T19:47:09.477Z\n\ntroubleshooting",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.9968822002410889,
                "type": "text/plain"
              },
              {
                "chunkSignature": "1e219a677e0dfe044bcf22489d500d7a",
                "text": "Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.\n\ntroubleshooting\n\ntroubleshooting\n\nmemory\n\nerrors\n\ndemo-smartmemory\n\n2026-10-28T19:47:09.477Z\n\ntroubleshooting",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.8664194345474243,
                "type": "text/plain"
              },
              {
                "chunkSignature": "2f9e53448b88f3147c934743939b82d8",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.8223525881767273,
                "type": "text/plain"
              }
            ]
          }
        },
        "success": true,
        "resultCount": 9
      },
      "knowledgeSearch": {
        "description": "Searched for general knowledge documentation",
        "query": "knowledge documentation",
        "results": {
          "success": true,
          "documentSearchResponse": {
            "results": [
              {
                "chunkSignature": "1f08ccd86e9acab8608e661f5815fd15",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "3c38f9f5974bbd62d3778709d3be7de8",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "a997435461acaa7d95ebecc68c558f72",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "2c0427218374dcc2f470064e5bf34d1f",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "a2d6dea9a73dcbc18f3f0f4180ee27c2",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "f807c2a8f8170e26da97183006068207",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "7316640739c4f5c6d9cc32179ab99f2f",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "c648cc15faf867137111966e9b8120f8",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "424c3744907d0b99ce47642226472b3f",
                "text": "AI Agent Best Practices\n\nAI agents should maintain context across conversations, handle errors gracefully, and provide clear responses to user queries.\n\ndevelopment\n\nai\n\nagents\n\nbest-practices\n\ndemo-smartmemory\n\n2026-10-28T19:47:01.411Z\n\nknowledge-base",
                "source": "semantic/01m620tf72wjjbdrrzszc2rcfj/text.txt",
                "payloadSignature": "8d752307450f0599acf00cbaac5aa21054fd9d12dcb83d7084e2d20835d8b9f6",
                "score": 0.0004407713422551751,
                "type": "text/plain"
              },
              {
                "chunkSignature": "2f9e53448b88f3147c934743939b82d8",
                "text": "Common Memory Issues\n\nIssue: Memory not persisting. Solution: Ensure endSession is called with flush=true. Issue: Search returns no results. Solution: Wait for indexing to complete.",
                "source": "semantic/01m620tpa0azn8c260cxejcwfr/text.txt",
                "payloadSignature": "5af38b743c8c5a9f52c61fc875dd9a2635fd547b65785fb1bdff8c5c7fd93a55",
                "score": 0.000037391320802271366,
                "type": "text/plain"
              }
            ]
          }
        },
        "success": true,
        "resultCount": 10
      }
    }
  },
  "instructions": {
    "usage": [
      "This endpoint demonstrates both episodic and semantic memory search capabilities",
      "Episodic memory searches across stored session summaries and memories",
      "Semantic memory searches across knowledge documents and structured information",
      "Run the main entrypoint demo first to populate both memory types",
      "Semantic search requires indexing time - results may be empty initially"
    ],
    "searchTypes": {
      "episodic": "Searches across summarized session memories and individual memory entries",
      "semantic": "Searches across knowledge documents, configurations, and structured data"
    }
  }
}