{
  "method": "POST",
  "embedModel": "@cf/baai/bge-base-en-v1.5",
  "store": "cloudflare-vectorize",
  "schema": {
    "query": {
      "type": "string",
      "min": 2,
      "max": 500,
      "required": true
    },
    "limit": {
      "type": "integer",
      "min": 1,
      "max": 20,
      "default": 5
    },
    "kind": {
      "type": "string",
      "enum": [
        "thesis",
        "practice",
        "conviction",
        "lookingFor",
        "project",
        "domain",
        "faq",
        "glossary"
      ],
      "required": false
    }
  },
  "example": "curl -X POST https://quasareum.com/api/search -H 'content-type: application/json' -d '{\"query\":\"hyperliquid trading journal\",\"kind\":\"project\"}'"
}