{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7f29b294-9db2-4a83-b1af-7549bea92436",
    "slug": "mastra-studio-standalone",
    "name": "Mastra Studio Standalone",
    "description": "Standalone Mastra Studio UI - connect to any running Mastra server",
    "url": "https://railway.com/deploy/mastra-studio-standalone",
    "upstream": {
      "repo_url": "https://github.com/Sjotie/mastra-studio-railway"
    }
  },
  "services": [
    {
      "name": "Mastra Studio",
      "source": {
        "repo": "https://github.com/Sjotie/mastra-studio-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MASTRA_SERVER_API_PREFIX",
      "service": "Mastra Studio",
      "description": "API route prefix of the Mastra server. Leave at /api unless your server uses a custom prefix.",
      "secret": false,
      "strategy": "default",
      "default": "/api"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mastra-studio-standalone"
      }
    },
    "cli": "railway deploy --template mastra-studio-standalone",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7f29b294-9db2-4a83-b1af-7549bea92436",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "59f950d3-5925-427d-aa4f-2b0ea1bc2641": {
                  "icon": "https://unpkg.com/mastra/dist/studio/mastra.svg",
                  "name": "Mastra Studio",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/Sjotie/mastra-studio-railway",
                    "rootDirectory": "studio-standalone"
                  },
                  "variables": {
                    "MASTRA_SERVER_URL": {
                      "isOptional": true,
                      "description": "Full URL of the Mastra server to connect to (e.g. https://my-mastra.up.railway.app). Leave empty to pick a server in Studio's connect form on first load.",
                      "defaultValue": ""
                    },
                    "MASTRA_SERVER_API_PREFIX": {
                      "isOptional": true,
                      "description": "API route prefix of the Mastra server. Leave at /api unless your server uses a custom prefix.",
                      "defaultValue": "/api"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Mastra Studio",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T10:06:46.590Z",
  "success_rate_30d": 0.8333,
  "validation": {
    "last_run_id": "run_ac49899e221144c3b4cf",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 92,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "Mastra Studio"
  }
}
