---
updatedAt: 2026-09-28T14:33:18.000Z
agentTools:
  projectIndex: https://developer.searchblox.com/llms.txt
---

# RAG SEARCH API - /rest/v2/api/rag-search

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "12.2"
  },
  "servers": [
    {
      "url": "https://127.0.0.1:8443/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/rest/v2/api/rag-search": {
      "get": {
        "summary": "RAG SEARCH API - /rest/v2/api/rag-search",
        "description": "",
        "operationId": "rag-search-api-restv2apirag-search",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Query String",
            "schema": {
              "type": "string",
              "default": "*"
            }
          },
          {
            "name": "cname",
            "in": "query",
            "description": "CollectionName",
            "schema": {
              "type": "string",
              "default": "CollectionName"
            }
          },
          {
            "name": "col",
            "in": "query",
            "description": "CollectionID",
            "schema": {
              "type": "integer",
              "format": "int64",
              "default": 1
            }
          },
          {
            "name": "searchtype",
            "in": "query",
            "description": "keyword/vector/hybrid",
            "schema": {
              "type": "string",
              "default": "hybrid"
            }
          },
          {
            "name": "passages",
            "in": "query",
            "description": "Number of Results to display",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "v.weight",
            "in": "query",
            "description": "Percentage value of Vector Search results to display",
            "schema": {
              "type": "number",
              "format": "double",
              "default": 0.2
            }
          },
          {
            "name": "v.threshold",
            "in": "query",
            "description": "Should be between 0-1",
            "schema": {
              "type": "number",
              "format": "double",
              "default": 0.5
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```