Search memories within a project.
System returns the top K relevant memories matching the natural language query. The result is sorted by timestamp to help with context.
The filter field allows for filtering based on metadata key-value pairs. The types field allows specifying which memory types to include in the search.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Specification model for searching memories.
The natural language query used for semantic memory search. This should be
a descriptive string of the information you are looking for."What was the user's last conversation about finance?"
The maximum number of memories to return in the search results.5
10
20
An optional string filter applied to the memory metadata. This uses a
simple query language (e.g., 'metadata.user_id=123') for exact matches.
Multiple conditions can be combined using AND operators. The metadata
fields are prefixed with 'metadata.' to distinguish them from other fields."metadata.user_id=123 AND metadata.session_id=abc"
A list of memory types to include in the search (e.g., Episodic, Semantic).
If empty, all available types are searched.Memory type.
semantic, episodic ["Episodic", "Semantic"]