{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neruva-io/json-schema/neruva-io-query-request-schema.json",
  "title": "QueryRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neruva-io-indexes-api-openapi.yml#/components/schemas/QueryRequest",
  "properties": {
    "vector": {
      "anyOf": [
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Vector"
    },
    "id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Id"
    },
    "topK": {
      "type": "integer",
      "title": "Topk",
      "default": 10
    },
    "namespace": {
      "type": "string",
      "title": "Namespace",
      "default": ""
    },
    "filter": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Filter"
    },
    "includeValues": {
      "type": "boolean",
      "title": "Includevalues",
      "default": false
    },
    "includeMetadata": {
      "type": "boolean",
      "title": "Includemetadata",
      "default": false
    }
  },
  "type": "object"
}