Retrieve
Retrieve relevant chunks via hybrid search (vector + full-text), with filtering on built-in or user-defined metadata.
Query parameters
Cookies
Request body
Example request
{
"index_id": "idx-abc123",
"query": "What are the key findings?",
"top_k": 10,
"rerank": {
"top_n": 5
}
}Response
Successful Response
Changes
Changed in 4 of the 33 revisions of this API.16
- ○
added the optional property
detail/items/ctxto the response with the422statusresponse-optional-property-added
- ○
added the optional property
detail/items/inputto the response with the422statusresponse-optional-property-added
- ○
added
MetadataDictto theresults/items/metadataresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
removed
subschema #1from theresults/items/metadataresponse propertyanyOflist for the response status200response-property-any-of-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○