Search
ModelsExpand Collapse
SearchExecuteResponse object { results, timing, total }
SearchExecuteResponse object { results, timing, total }
results: array of object { chunks, createdAt, documentId, 7 more }
results: array of object { chunks, createdAt, documentId, 7 more }
SearchDocumentsResponse object { results, timing, total }
SearchDocumentsResponse object { results, timing, total }
results: array of object { chunks, createdAt, documentId, 7 more }
results: array of object { chunks, createdAt, documentId, 7 more }
SearchMemoriesResponse object { results, timing, total }
SearchMemoriesResponse object { results, timing, total }
results: array of object { id, metadata, similarity, 10 more } Array of matching memory entries and chunks with similarity scores. Contains memory results when searchMode=‘memories’, both memory and chunk results when searchMode=‘hybrid’, or only chunk results when searchMode=‘documents’. Memory results have ‘memory’ field, chunk results have ‘chunk’ field. BACKWARD COMPATIBILITY: When using deprecated include.chunks=true, only memory results are returned with chunks embedded in them (old format).
results: array of object { id, metadata, similarity, 10 more }
Array of matching memory entries and chunks with similarity scores. Contains memory results when searchMode=‘memories’, both memory and chunk results when searchMode=‘hybrid’, or only chunk results when searchMode=‘documents’. Memory results have ‘memory’ field, chunk results have ‘chunk’ field. BACKWARD COMPATIBILITY: When using deprecated include.chunks=true, only memory results are returned with chunks embedded in them (old format).
chunks: optional array of object { content, documentId, position } Relevant chunks from associated documents (only included when chunks=true)
chunks: optional array of object { content, documentId, position }
Relevant chunks from associated documents (only included when chunks=true)
context: optional object { children, parents, related } Object containing version history (parents/children via updates) and related memories (extends/derives)
context: optional object { children, parents, related }
Object containing version history (parents/children via updates) and related memories (extends/derives)
children: optional array of object { memory, relation, updatedAt, 2 more }
children: optional array of object { memory, relation, updatedAt, 2 more }
parents: optional array of object { memory, relation, updatedAt, 2 more }
parents: optional array of object { memory, relation, updatedAt, 2 more }
documents: optional array of object { id, createdAt, updatedAt, 4 more } Associated documents for this memory entry
documents: optional array of object { id, createdAt, updatedAt, 4 more }
Associated documents for this memory entry
isAggregated: optional boolean
Indicates if this memory was created by aggregating multiple source memories