{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-query-response-schema.json",
  "title": "QueryResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-vectors-api-openapi.yml#/components/schemas/QueryResponse",
  "type": "object",
  "properties": {
    "result": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "description": "Number of results returned."
        },
        "matches": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The vector ID."
              },
              "score": {
                "type": "number",
                "description": "Similarity score."
              },
              "values": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "metadata": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "success": {
      "type": "boolean"
    }
  }
}