{
  "manifest_version": "1.0.0",
  "template": {
    "id": "61fc67e8-b18d-4939-a71d-ab5436f860a9",
    "slug": "fabric",
    "name": "Fabric",
    "description": "Fabric framework API with bundled AI prompt patterns and persistent config",
    "url": "https://railway.com/deploy/fabric",
    "upstream": {
      "repo_url": "https://github.com/RockinPaul/fabric_railway_template"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Fabric",
      "source": {
        "repo": "https://github.com/RockinPaul/fabric_railway_template"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/appuser/.config/fabric",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DEFAULT_MODEL",
      "service": "Fabric",
      "description": "Default AI model Fabric uses when request does not specify one. Example: gpt-4.1-mini.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DEFAULT_VENDOR",
      "service": "Fabric",
      "description": "Default AI provider for Fabric. Must match configured provider name. Example: OpenAI.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "FABRIC_API_KEY",
      "service": "Fabric",
      "description": "Secret key required in X-API-Key header for protected Fabric API routes.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "fabric"
      }
    },
    "cli": "railway deploy --template fabric",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "61fc67e8-b18d-4939-a71d-ab5436f860a9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "d1dd6f36-a4d4-4467-8799-01de5c91d70b": {
                  "icon": "https://raw.githubusercontent.com/danielmiessler/Fabric/main/docs/images/fabric-logo-gif.gif",
                  "name": "Fabric",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/RockinPaul/fabric_railway_template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "DEFAULT_MODEL": {
                      "isOptional": false,
                      "description": "Default AI model Fabric uses when request does not specify one. Example: gpt-4.1-mini.",
                      "defaultValue": "{{DEFAULT_MODEL}}"
                    },
                    "DEFAULT_VENDOR": {
                      "isOptional": false,
                      "description": "Default AI provider for Fabric. Must match configured provider name. Example: OpenAI.",
                      "defaultValue": "{{DEFAULT_VENDOR}}"
                    },
                    "FABRIC_API_KEY": {
                      "isOptional": false,
                      "description": "Secret key required in X-API-Key header for protected Fabric API routes.",
                      "defaultValue": "{{FABRIC_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "d1dd6f36-a4d4-4467-8799-01de5c91d70b": {
                      "mountPath": "/home/appuser/.config/fabric"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Fabric",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0"
}
