Search memory for the specified session (cloud only)

Deprecated
POST

Search memory for the specified session. Deprecated, please use search_sessions method instead

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

A list of SearchResult objects representing the search results.

messageobjectOptional
metadatamap from strings to anyOptional
scoredoubleOptional
summaryobjectOptional

Errors