{
  "repo": "tidbcloud/cloud-finops-system",
  "binary": "dbaas-ai-insights",
  "binary_path": "dbaas-ai-insights/main.py",
  "surface_kind": "http_service",
  "type": "http_service",
  "services": [
    {
      "name": "DbaasAiInsightsHTTP",
      "package": "dbaas-ai-insights/main.py",
      "methods": [
        {
          "name": "GET /",
          "name_key": "HTTP GET /",
          "input": "optional question, SQL, and historical conversation context",
          "output": "rendered HTML page with BigQuery results, prompt history, and generated SQL",
          "type": "http"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "main.py creates a Flask app and runs it on 127.0.0.1:8080."
    ]
  }
}
