file-search
Query
Search indexed files and return source chunks with optional document, metadata, region (bounding boxes), relation, and related chunk context.
Compared with v2: this response uses results[].text, supports explicit include controls, and returns structured rerank details.
Filter keys are top-level field names. Never nest them under metadata or custom_metadata. Use {"policy_area": "payments"}, not {"custom_metadata": {"policy_area": "payments"}}. Operators are $-prefixed ($gte, not gte). See the Advanced Querying guide for the full filter reference.
post/v3/collections/{collection_name}/query
Path parameters
collection_namestring required
Request body
Response
Query response.