{
 "openapi": "3.1.0",
 "info": {
  "title": "Recla public API",
  "version": "0.1.0-prototip",
  "description": "Generated from api/_mcp-araclar.json (single source)."
 },
 "servers": [
  {
   "url": "https://recla.app"
  }
 ],
 "paths": {
  "/robots/canli.json": {
   "get": {
    "operationId": "recla_robot_canli",
    "summary": "Read today's live counters of Recla's robots (runs, checks, rejections). Read-only, public, no personal data.",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/robots/hareket.json": {
   "get": {
    "operationId": "recla_robot_hareket",
    "summary": "Read the latest public robot movement records (what ran, which robot, result). Read-only, public, no personal data.",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/robots/sayac.json": {
   "get": {
    "operationId": "recla_robot_sayac",
    "summary": "Read cumulative call counts by role (chief, human, robot). Read-only, public, no personal data.",
    "responses": {
     "200": {
      "description": "JSON",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/api/mcp": {
   "post": {
    "operationId": "mcp",
    "summary": "MCP server (JSON-RPC 2.0: initialize, tools/list, tools/call, ping). Wraps the read-only endpoints above, one handler each.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "jsonrpc",
         "method"
        ],
        "properties": {
         "jsonrpc": {
          "const": "2.0"
         },
         "id": {},
         "method": {
          "type": "string"
         },
         "params": {
          "type": "object"
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "JSON-RPC response"
     },
     "202": {
      "description": "notification accepted"
     },
     "405": {
      "description": "POST only"
     }
    }
   }
  }
 }
}