{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4e7171a3-9f6d-4bba-bd11-37c382095326",
    "slug": "graphman",
    "name": "Graphman + File Server",
    "description": "GraphQL API collection generator service using Graphman and Flask.",
    "url": "https://railway.com/deploy/graphman",
    "upstream": {
      "repo_url": "https://github.com/railwayapp-templates/graphman-plus-server"
    }
  },
  "services": [
    {
      "name": "graphman-cron",
      "source": {
        "repo": "https://github.com/railwayapp-templates/graphman-plus-server"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "file-server",
      "source": {
        "repo": "https://github.com/railwayapp-templates/graphman-plus-server"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "API_URL",
      "service": "graphman-cron",
      "description": "URL of Flask File Server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GRAPHQL_ENDPOINT",
      "service": "graphman-cron",
      "description": "GraphQL endpoint for which to generate an API collection",
      "secret": false,
      "strategy": "default",
      "default": "https://backboard.railway.app/graphql/v2"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "graphman"
      }
    },
    "cli": "railway deploy --template graphman",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4e7171a3-9f6d-4bba-bd11-37c382095326",
            "serializedConfig": {
              "services": {
                "0a200c14-aee2-4982-8a61-7ef150f3503a": {
                  "name": "graphman-cron",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/railwayapp-templates/graphman-plus-server",
                    "rootDirectory": "/graphman"
                  },
                  "variables": {
                    "API_URL": {
                      "isOptional": false,
                      "description": "URL of Flask File Server",
                      "defaultValue": "${{file-server.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GRAPHQL_ENDPOINT": {
                      "isOptional": false,
                      "description": "GraphQL endpoint for which to generate an API collection",
                      "defaultValue": "https://backboard.railway.app/graphql/v2"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                },
                "ffa1c05f-7a24-4755-8246-7997b6961495": {
                  "name": "file-server",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/railwayapp-templates/graphman-plus-server",
                    "rootDirectory": "/file-server"
                  },
                  "variables": {},
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "ffa1c05f-7a24-4755-8246-7997b6961495": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T16:20:08.031Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_f280d64fdc3440d4a3c1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
