Points

Retrieve multiple points by specified IDs

post/collections/{collection_name}/points

Request

Path parameters

collection_namestring required

Name of the collection to retrieve from

Query parameters

integer
OR
'majority' | 'quorum' | 'all'
  • majority - send N/2+1 random request and return points, which present on all of them

  • quorum - send requests to all nodes and return points which present on majority of nodes

  • all - send requests to all nodes and return points which present on all nodes

Define read consistency guarantees for the operation

timeoutinteger

If set, overrides global timeout for this request. Unit is seconds.

Request body

Example request

{
  "shard_key": "region_1",
  "ids": [
    42
  ]
}

Response

successful operation

timenumber float

Time spent to process this request

statusstring

Example response

{
  "time": 0.002,
  "status": "ok",
  "result": [
    {
      "id": 42,
      "payload": {
        "city": "London",
        "color": "green"
      },
      "vector": [
        0.875,
        0.140625,
        0.897599995136261
      ],
      "shard_key": "region_1",
      "order_value": 42
    }
  ]
}

Changes

    • info

      added to the //// request property anyOf list

    • info

      added to the response property anyOf list for the response status

    • info

      removed from the response property anyOf list for the response status

    • breaking

      removed the required property ///// from the response with the status

    • breaking

      removed the required property ///// from the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status