{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5d3a6ded-0170-4b01-a44d-d09806c43668",
    "slug": "automated-betting-bot",
    "name": "Automated Betting Bot",
    "description": "A sophisticated automated betting bot",
    "url": "https://railway.com/deploy/automated-betting-bot",
    "upstream": {
      "repo_url": "https://github.com/atho-gitrepo/36-80_live_bet"
    }
  },
  "services": [
    {
      "name": "36-80_live_bet",
      "source": {
        "repo": "https://github.com/atho-gitrepo/36-80_live_bet"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "API_KEY",
      "service": "36-80_live_bet",
      "description": "Provide a value for API_KEY.",
      "secret": true,
      "strategy": "default",
      "default": "Please fill API"
    },
    {
      "key": "TELEGRAM_TOKEN",
      "service": "36-80_live_bet",
      "description": "Provide a value for TELEGRAM_TOKEN.",
      "secret": true,
      "strategy": "default",
      "default": "Please fill Telegram Token here"
    },
    {
      "key": "TELEGRAM_CHAT_ID",
      "service": "36-80_live_bet",
      "description": "Provide a value for TELEGRAM_CHAT_ID.",
      "secret": false,
      "strategy": "default",
      "default": "Please fill telegram chat id here"
    },
    {
      "key": "FIREBASE_CREDENTIALS_JSON",
      "service": "36-80_live_bet",
      "description": "Provide a value for FIREBASE_CREDENTIALS_JSON.",
      "secret": false,
      "strategy": "default",
      "default": "Fill the Firebase json here"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "automated-betting-bot"
      }
    },
    "cli": "railway deploy --template automated-betting-bot",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5d3a6ded-0170-4b01-a44d-d09806c43668",
            "serializedConfig": {
              "services": {
                "de0d4285-5cc3-4cd5-aa30-2b8b7afb9d92": {
                  "icon": null,
                  "name": "36-80_live_bet",
                  "deploy": {
                    "startCommand": "python -u worker/main.py",
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/atho-gitrepo/36-80_live_bet",
                    "rootDirectory": null
                  },
                  "variables": {
                    "API_KEY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Please fill API"
                    },
                    "TELEGRAM_TOKEN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Please fill Telegram Token here"
                    },
                    "TELEGRAM_CHAT_ID": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Please fill telegram chat id here"
                    },
                    "FIREBASE_CREDENTIALS_JSON": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Fill the Firebase json here"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-09T23:21:29.165Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_44422154d71d4194b160",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
