{
  "openapi": "3.1.0",
  "info": {
    "title": "AimProof Live Demo",
    "version": "0.1.0",
    "description": "Synthetic read-only test."
  },
  "servers": [
    {
      "url": "/"
    }
  ],
  "paths": {
    "/search": {
      "post": {
        "operationId": "search_knowledge",
        "summary": "Search fictional company knowledge",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "question"
                ],
                "properties": {
                  "question": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5,
                    "default": 3
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Fictional knowledge candidates"
          },
          "400": {
            "description": "Invalid request"
          },
          "413": {
            "description": "Request too large"
          },
          "415": {
            "description": "Unsupported media type"
          }
        }
      }
    }
  }
}