{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0223bde9-0a90-48d5-a41d-8c76fa63ab9e",
    "slug": "copaw",
    "name": "copaw",
    "description": "Your Personal AI Assistant; supports multiple chat apps",
    "url": "https://railway.com/deploy/copaw",
    "upstream": {
      "image": "agentscope/copaw:v0.2.0.post1"
    }
  },
  "services": [
    {
      "name": "copaw",
      "source": {
        "image": "agentscope/copaw:v0.2.0.post1"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/working",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "copaw",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "COPAW_PORT",
      "service": "copaw",
      "description": "Provide a value for COPAW_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "COPAW_SECRET_DIR",
      "service": "copaw",
      "description": "Provide a value for COPAW_SECRET_DIR.",
      "secret": true,
      "strategy": "default",
      "default": "/app/working/.secret"
    },
    {
      "key": "COPAW_WORKING_DIR",
      "service": "copaw",
      "description": "Provide a value for COPAW_WORKING_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/app/working"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "copaw"
      }
    },
    "cli": "railway deploy --template copaw",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0223bde9-0a90-48d5-a41d-8c76fa63ab9e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7e034bb0-bd29-4a50-a399-a59516d47d69": {
                  "icon": null,
                  "name": "copaw",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "agentscope/copaw:v0.2.0.post1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8088"
                    },
                    "COPAW_PORT": {
                      "isOptional": false,
                      "defaultValue": "8088"
                    },
                    "COPAW_SECRET_DIR": {
                      "isOptional": false,
                      "defaultValue": "/app/working/.secret"
                    },
                    "COPAW_WORKING_DIR": {
                      "isOptional": false,
                      "defaultValue": "/app/working"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "7e034bb0-bd29-4a50-a399-a59516d47d69": {
                      "mountPath": "/app/working"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T07:47:21.800Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f530b96a9aba4791b491",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 88,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "copaw"
  }
}
