Items in
documents and memories have the same shapes as Search Documents and Search Memories respectively — the relevant request knobs (top_n, threshold) carry the same meaning here.Permission required:
project:search · instancePath Parameters
string
required
Project ID
Request Body
string
required
Natural-language search query. Used by both sub-searches.
string
required
User ID filter for the memory sub-search. Document search ignores this field.
integer
default:"10"
Maximum number of results to return, 1–1000. Applied to both document and memory matches — e.g.
top_n=10 yields up to 10 documents and up to 10 memories.number
default:"0.3"
Minimum similarity score for memory results. Scores below this are filtered out. Does not apply to documents.
boolean
default:"false"
Include conflict info on memory results.
Response
object