Search
Search vectors
Find the most similar vectors in a collection using approximate nearest neighbor search. Supports score thresholds, payload filtering, and tunable HNSW parameters.
post/collections/{collection_name}/points/search
Path parameters
collection_namestring required
The name of the collection to search.
Request body
Example request
{
"vector": [
0.1,
0.2,
0.3,
0.4
],
"limit": 5,
"score_threshold": 0.7,
"with_payload": true,
"params": {
"hnsw_ef": 128
}
}Response
Search results
Example response
{
"time": 0.0000553,
"status": "ok",
"result": [
{
"score": 0.9843740463256836
}
]
}