{
  "manifest_version": "1.0.0",
  "template": {
    "id": "85e5fd41-1068-4233-8836-03e03230635a",
    "slug": "telegram-groq",
    "name": "Telegram Groq",
    "description": "Chat with Groq in Telegram",
    "url": "https://railway.com/deploy/telegram-groq",
    "upstream": {
      "repo_url": "https://github.com/bilalnawaz072/telegram-groq"
    }
  },
  "services": [
    {
      "name": "telegram-groq",
      "source": {
        "repo": "https://github.com/bilalnawaz072/telegram-groq"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GROQ_API_KEY",
      "service": "telegram-groq",
      "description": "https://console.groq.com/keys",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TELEGRAM_BOT_TOKEN",
      "service": "telegram-groq",
      "description": "Get from BotFather telegram",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "telegram-groq"
      }
    },
    "cli": "railway deploy --template telegram-groq",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "85e5fd41-1068-4233-8836-03e03230635a",
            "serializedConfig": {
              "services": {
                "3495795c-0562-450f-9e7d-7ec9258115e3": {
                  "name": "telegram-groq",
                  "source": {
                    "repo": "bilalnawaz072/telegram-groq",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "GROQ_API_KEY": {
                      "description": "https://console.groq.com/keys",
                      "defaultValue": "{{GROQ_API_KEY}}"
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "description": "Get from BotFather telegram",
                      "defaultValue": "{{TELEGRAM_BOT_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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-07T06:01:58.250Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_6fa412a8502d4cd58f04",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
