Skip to main content
POST /ns/{namespace}/search recalls the most useful memories and source chunks for a query. Hybrid search combines both by default; set searchMode to memories or chunks when your experience needs one result type. Every option goes in the JSON request body: query, searchMode, limit, threshold, filter, include, rerank, and rewriteQuery.
Two defaults differ from the legacy API: searchMode defaults to hybrid (legacy memories) and threshold defaults to 0.3 (legacy 0.6). Pass both explicitly if you need legacy-equivalent results. See search migration and typed filter migration.