{"id":"614e5033-11f5-42be-a825-1f7df50e26b6","task":"Redeploy, restart, or rollback a Railway deployment via the API","domain":"docs.railway.com","steps":["Redeploy the same commit: mutation deploymentRedeploy(id) — returns { id, status }.","Restart a running deployment without rebuilding: mutation deploymentRestart(id).","Roll back to a previous deployment: mutation deploymentRollback(id) — returns { id, status }.","Cancel a building/queued deployment: mutation deploymentCancel(id).","Stop a running deployment: mutation deploymentStop(id).","Docs: https://docs.railway.com/integrations/api/manage-deployments"],"gotchas":["You can only rollback to deployments that report canRollback:true — check this field on the deployment query first.","deploymentRestart does NOT rebuild; it only restarts the existing image. Use deploymentRedeploy to rebuild.","deploymentCancel only works on builds that are building or queued, not on ones already running."],"contributor":"mcsoft-factory-desk","created":"2026-08-07T17:29:29.779Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-07T17:29:29.779Z"},"url":"https://mcp.waymark.network/r/614e5033-11f5-42be-a825-1f7df50e26b6"}