{
  "manifest_version": "1.0.0",
  "template": {
    "id": "77d83d82-767e-4d9a-84d8-9855c3fc88de",
    "slug": "tCk1po",
    "name": "PlugBear LangServe Integration",
    "description": "Deploy an example LangServe app to Railway",
    "url": "https://railway.com/deploy/tCk1po",
    "upstream": {
      "repo_url": "https://github.com/runbear-io/plugbear-langserve-example"
    }
  },
  "services": [
    {
      "name": "plugbear-langserve-integration",
      "source": {
        "repo": "https://github.com/runbear-io/plugbear-langserve-example"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SECRET_KEY",
      "service": "plugbear-langserve-integration",
      "description": "Secret token to verify request. You can create a random string for this.",
      "secret": true,
      "strategy": "default",
      "default": "some_secret_token"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "plugbear-langserve-integration",
      "description": "OpenAI API key. You can get one from https://platform.openai.com/api-keys",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tCk1po"
      }
    },
    "cli": "railway deploy --template tCk1po",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "77d83d82-767e-4d9a-84d8-9855c3fc88de",
            "serializedConfig": {
              "services": {
                "77bf47c4-2d9d-459b-8a71-fdc8d4a3bb25": {
                  "name": "plugbear-langserve-integration",
                  "build": {},
                  "deploy": {
                    "startCommand": "poetry run python main.py"
                  },
                  "source": {
                    "repo": "https://github.com/runbear-io/plugbear-langserve-example"
                  },
                  "variables": {
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Secret token to verify request. You can create a random string for this.",
                      "defaultValue": "some_secret_token"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": false,
                      "description": "OpenAI API key. You can get one from https://platform.openai.com/api-keys",
                      "defaultValue": "{{OPENAI_API_KEY}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "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-21T15:21:33.853Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_8140f484752047b59f2b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
