{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a087312f-b974-4406-ac24-c43e1b33652a",
    "slug": "spacebot-1",
    "name": "Spacebot",
    "description": "Openclaw alternative for teams, communities, and multi-user environments.",
    "url": "https://railway.com/deploy/spacebot-1",
    "upstream": {
      "image": "ghcr.io/spacedriveapp/spacebot:v0.5.0@sha256:ccd9411f72def62b192e44aed23446b94e6e4774d55d7100a94de1531029f6ed"
    }
  },
  "services": [
    {
      "name": "Spacebot",
      "source": {
        "image": "ghcr.io/spacedriveapp/spacebot:v0.5.0@sha256:ccd9411f72def62b192e44aed23446b94e6e4774d55d7100a94de1531029f6ed"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Spacebot",
      "description": "Application port",
      "secret": false,
      "strategy": "default",
      "default": "19898"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "spacebot-1"
      }
    },
    "cli": "railway deploy --template spacebot-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a087312f-b974-4406-ac24-c43e1b33652a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "6bd066fe-f5b1-44ad-ab73-d1ebf945f288": {
                  "icon": "https://raw.githubusercontent.com/spacedriveapp/spacebot/main/.github/Ball.png",
                  "name": "Spacebot",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/spacedriveapp/spacebot:v0.5.0@sha256:ccd9411f72def62b192e44aed23446b94e6e4774d55d7100a94de1531029f6ed"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Application port",
                      "defaultValue": "19898"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "OpenAI API key",
                      "defaultValue": ""
                    },
                    "SLACK_APP_TOKEN": {
                      "isOptional": true,
                      "description": "Slack app token",
                      "defaultValue": ""
                    },
                    "SLACK_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Slack bot token",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Anthropic API key",
                      "defaultValue": ""
                    },
                    "DISCORD_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Discord bot token",
                      "defaultValue": ""
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "OpenRouter API key",
                      "defaultValue": ""
                    },
                    "BRAVE_SEARCH_API_KEY": {
                      "isOptional": true,
                      "description": "Brave Search API key",
                      "defaultValue": ""
                    },
                    "SPACEBOT_WORKER_MODEL": {
                      "isOptional": true,
                      "description": "Override worker model",
                      "defaultValue": ""
                    },
                    "SPACEBOT_CHANNEL_MODEL": {
                      "isOptional": true,
                      "description": "Override channel model",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:19898": {
                        "port": 19898
                      }
                    }
                  },
                  "volumeMounts": {
                    "6bd066fe-f5b1-44ad-ab73-d1ebf945f288": {
                      "mountPath": "/data",
                      "backupSchedules": [
                        "WEEKLY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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-18T11:06:19.030Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6e928b0f70104d85bd92",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 86,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Spacebot"
  }
}
