Search memory for the specified session.

POST
Search memory for the specified session.

Path parameters

sessionIdstringRequired
The ID of the session for which memory should be searched.

Query parameters

limitintegerOptional
The maximum number of search results to return. Defaults to None (no limit).

Request

This endpoint expects an object.
metadatamap from strings to anyOptional
Metadata Filter
min_fact_ratingdoubleOptional
min_scoredoubleOptional
mmr_lambdadoubleOptional
search_scopeenumOptional
Allowed values: messagessummaryfacts
search_type"similarity" or "mmr"Optional
Allowed values: similaritymmr
textstringOptional

Response

This endpoint returns a list of objects
messageobjectOptional
metadatamap from strings to anyOptional
scoredoubleOptional
summaryobjectOptional

Errors