{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a0201f80-7f50-4102-bcf9-41544a5174cd",
    "slug": "GkiYuO",
    "name": "ServeBin",
    "description": "Elevating HTTP Testing to Effortless Debugging.",
    "url": "https://railway.com/deploy/GkiYuO",
    "upstream": {
      "repo_url": "https://github.com/AyushAgnihotri2025/ServeBin"
    }
  },
  "services": [
    {
      "name": "ServeBin",
      "source": {
        "repo": "https://github.com/AyushAgnihotri2025/ServeBin"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "ENV",
      "service": "ServeBin",
      "description": "Deployment type can be production or development",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "HOST",
      "service": "ServeBin",
      "description": "Host where to start the server and listen to the requests",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "IS_SSL",
      "service": "ServeBin",
      "description": "true if using 'https' else false",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "GIN_MODE",
      "service": "ServeBin",
      "description": "debug/release",
      "secret": false,
      "strategy": "default",
      "default": "release"
    },
    {
      "key": "MAIN_SERVER",
      "service": "ServeBin",
      "description": "Only required when IS_BACKUP_SERVER is set to true",
      "secret": false,
      "strategy": "default",
      "default": "https://servebin.dev"
    },
    {
      "key": "IS_BACKUP_SERVER",
      "service": "ServeBin",
      "description": "true if hosting the backup server else false",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "GkiYuO"
      }
    },
    "cli": "railway deploy --template GkiYuO",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a0201f80-7f50-4102-bcf9-41544a5174cd",
            "serializedConfig": {
              "services": {
                "affd2cab-a85b-4504-a4e6-32b9123591dc": {
                  "name": "ServeBin",
                  "deploy": {
                    "startCommand": "chmod +x ./out && ./out",
                    "healthcheckPath": "/heartbeat"
                  },
                  "source": {
                    "repo": "AyushAgnihotri2025/ServeBin",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "ENV": {
                      "isOptional": true,
                      "description": "Deployment type can be production or development",
                      "defaultValue": "production"
                    },
                    "HOST": {
                      "description": "Host where to start the server and listen to the requests",
                      "defaultValue": "0.0.0.0"
                    },
                    "PORT": {
                      "isOptional": true,
                      "description": "Port where to listen to the requests",
                      "defaultValue": ""
                    },
                    "IS_SSL": {
                      "isOptional": true,
                      "description": "true if using 'https' else false",
                      "defaultValue": "true"
                    },
                    "GIN_MODE": {
                      "isOptional": true,
                      "description": "debug/release",
                      "defaultValue": "release"
                    },
                    "MAIN_SERVER": {
                      "isOptional": true,
                      "description": "Only required when IS_BACKUP_SERVER is set to true",
                      "defaultValue": "https://servebin.dev"
                    },
                    "IS_BACKUP_SERVER": {
                      "isOptional": true,
                      "description": "true if hosting the backup server else false",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "ServeBin",
      "method": "GET",
      "path": "/heartbeat",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T13:26:51.008Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_ed18382e4b7344018498",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
