{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ydb-qdrant-tech/json-schema/ydb-qdrant-tech-retrieve-points-request-schema.json",
  "title": "RetrievePointsRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ydb-qdrant-tech-openapi.json#/components/schemas/RetrievePointsRequest",
  "type": "object",
  "required": [
    "ids"
  ],
  "properties": {
    "ids": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PointId"
      },
      "minItems": 1,
      "maxItems": 1000
    },
    "with_payload": {
      "type": "boolean",
      "default": true
    },
    "with_vector": {
      "type": "boolean",
      "description": "Accepted for Qdrant request compatibility. The current REST server returns vector as null in retrieve responses.",
      "default": false
    }
  },
  "additionalProperties": false,
  "$defs": {
    "PointId": {
      "description": "Point ids accepted by write and lookup requests. Numeric ids are normalized to strings in storage and response objects.",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    }
  }
}