{
  "openapi": "3.2.0",
  "info": {
    "title": "CYBERMAPS public website API",
    "version": "1.0.0",
    "description": "Search CYBERMAPS features, setup guides, and technical documentation; list public pages, retrieve their Markdown, and read a site summary. These read-only operations use the published content of cybermaps.dev."
  },
  "servers": [
    {
      "url": "https://cybermaps.dev"
    }
  ],
  "security": [],
  "paths": {
    "/api/agent/search": {
      "get": {
        "operationId": "search_site",
        "summary": "Find CYBERMAPS features, setup instructions, and reporting workflows in published website pages.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 10,
              "type": "integer",
              "minimum": 1,
              "maximum": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Public content result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "403": {
            "description": "Origin rejected"
          },
          "404": {
            "description": "Unknown indexed page"
          },
          "429": {
            "description": "Rate limited"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/api/agent/pages": {
      "get": {
        "operationId": "list_site_pages",
        "summary": "Browse CYBERMAPS product pages, documentation, and articles in canonical path order.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 25,
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Public content result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "403": {
            "description": "Origin rejected"
          },
          "404": {
            "description": "Unknown indexed page"
          },
          "429": {
            "description": "Rate limited"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/api/agent/page": {
      "get": {
        "operationId": "get_site_page",
        "summary": "Retrieve a CYBERMAPS guide or product page as Markdown using its exact indexed path.",
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^\\/.*"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Public content result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "403": {
            "description": "Origin rejected"
          },
          "404": {
            "description": "Unknown indexed page"
          },
          "429": {
            "description": "Rate limited"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/api/agent/site": {
      "get": {
        "operationId": "get_site_summary",
        "summary": "Get the CYBERMAPS website overview, available content counts, and public tool names.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Public content result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "403": {
            "description": "Origin rejected"
          },
          "404": {
            "description": "Unknown indexed page"
          },
          "429": {
            "description": "Rate limited"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    }
  }
}