v3

latestOpenAPI 3.0.3raw.githubusercontent.com2026-04-274135.4 KB
Search

Batch search

Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.

post/collections/{collection_name}/points/search/batch

Path parameters

collection_namestring required

The name of the collection to search.

Request body

Example request

{
  "searches": [
    {
      "vector": [
        0.1,
        0.2,
        0.3,
        0.4
      ],
      "limit": 3,
      "score_threshold": 0.7,
      "with_payload": true
    }
  ]
}

Response

Batch search results

timenumber double

Time spent to process this request, in seconds.

statusstring

Operation status.

Example response

{
  "time": 0.0000706,
  "status": "ok",
  "result": [
    [
      {
        "score": 0.9843740463256836
      }
    ]
  ]
}