For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Searches over documents in a collection based on provided search criteria. One of text or metadata must be provided. Returns an empty list if no documents are found.
Path parameters
collectionNamestringRequired
Name of the Document Collection
Query parameters
limitintegerOptional
Limit the number of returned documents
Request
Search criteria
metadatamap from strings to anyOptional
Document metadata to filter on.
min_scoredoubleOptional
mmr_lambdadoubleOptional
The lambda parameter for the MMR Reranking Algorithm.
search_typeenumOptional
The type of search to perform. Defaults to "similarity". Must be one of "similarity" or "mmr".