Roll a deployment back to an earlier revision's release
Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.
POST
/
v1
/
deployments
/
{id}
/
rollback
Roll a deployment back to an earlier revision's release
The revision the caller last read. The rollback is refused once another change has moved the deployment past it.
toRevision
integer
The earlier revision whose release to return to; the revision before the current one when omitted.
Response
The deployment runs the earlier revision's release now.
Where a rollback left the deployment.
id
string
required
The deployment's id, which a rollback never changes.
revision
integer
required
The deployment's current revision.
releaseId
string
required
The release the deployment runs at that revision.
kind
string
required
What made that revision: rollback, or, where the target release was already current, that revision's own kind. Open: clients tolerate values they do not know.
fromRevision
integer
The revision a rollback restored; absent on any other kind.
pendingUpdate
object | null
An update that waits for its release's running copy to be ready, or an unfinished cancellation of that copy. Cancellation keeps the original baseRevision and since so existing clients can retry stop/delete after dispatch failure. An unfinished cancellation reads failed, keeping its dismissal available even while the copy is stopping. Null after the move or cancellation finishes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ComfyUI","colors":{"primary":"#49378B","light":"#F2FF59","dark":"#F2FF59"},"logo":{"light":"https://mintcdn.com/dripart/WCFdTagRdhtvk9-o/logo/light.svg?fit=max\u0026auto=format\u0026n=WCFdTagRdhtvk9-o\u0026q=85\u0026s=ec112de87239058f5a931a7e4b594965","dark":"https://mintcdn.com/dripart/QzWbjSCBG7w61rR3/logo/dark.svg?fit=max\u0026auto=format\u0026n=QzWbjSCBG7w61rR3\u0026q=85\u0026s=62b4d879fb3aadbd7a468d1539032d6f","href":"/"},"favicon":"https://mintcdn.com/dripart/maKDA164-rrTfyxY/favicon.ico?fit=max\u0026auto=format\u0026n=maKDA164-rrTfyxY\u0026q=85\u0026s=94f3a697cf4c9a1ee3961b69219d0942","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://blog.comfy.org/?utm_source=docs","label":"Blog"},{"href":"/tutorials/partner-nodes/pricing","label":"Pricing"},{"href":"https://platform.comfy.org/?utm_source=docs","label":"Platform"},{"href":"https://comfy.org/download?utm_source=docs","label":"Download"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"Resources","items":[{"label":"installation","href":"/installation/system_requirements"},{"label":"Tutorials","href":"/tutorials/basic/text-to-image"},{"label":"Development","href":"/development/overview"}]},{"header":"Products","items":[{"label":"Features","href":"https://www.comfy.org/?utm_source=docs"},{"label":"Gallery","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"Download","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"Company","items":[{"label":"About","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"Careers","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"Terms of Service","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"Privacy Policy","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"search":{"prompt":"Search Comfy documentation..."},"seo":{"metatags":{"googlebot":"max-video-preview:0"}},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-MXC01ZDDHQ"},"posthog":{"apiKey":"phc_iKfK86id4xVYws9LybMje0h44eGtfwFgRPIBehmy8rO"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":""},{"language":"zh","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"资源","items":[{"label":"安装","href":"/zh/installation/system_requirements"},{"label":"教程","href":"/zh/tutorials/basic/text-to-image"},{"label":"开发","href":"/zh/development/overview"}]},{"header":"产品","items":[{"label":"功能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"画廊","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"下载","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"公司","items":[{"label":"关于","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"招聘","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"服务条款","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"隐私政策","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"href":"zh"},{"language":"ja","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"リソース","items":[{"label":"インストール","href":"/ja/installation/system_requirements"},{"label":"チュートリアル","href":"/ja/tutorials/basic/text-to-image"},{"label":"開発","href":"/ja/development/overview"}]},{"header":"プロダクト","items":[{"label":"機能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"ギャラリー","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"ダウンロード","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"会社情報","items":[{"label":"概要","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"採用情報","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"利用規約","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"プライバシーポリシー","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ja/tutorials/partner-nodes/pricing","label":"料金"},{"href":"https://comfy.org/download?utm_source=docs","label":"ダウンロード"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"href":"ja"},{"language":"ko","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"리소스","items":[{"label":"설치","href":"/ko/installation/system_requirements"},{"label":"튜토리얼","href":"/ko/tutorials/basic/text-to-image"},{"label":"개발","href":"/ko/development/overview"}]},{"header":"제품","items":[{"label":"기능","href":"https://www.comfy.org/?utm_source=docs"},{"label":"갤러리","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"다운로드","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"회사 정보","items":[{"label":"소개","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"채용","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"이용약관","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"개인정보 처리방침","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ko/tutorials/partner-nodes/pricing","label":"가격 정책"},{"href":"https://comfy.org/download?utm_source=docs","label":"다운로드"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"href":"ko"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dripart","hasAudioNarration":false,"actualSubdomain":"dripart","customDomains":["docs.comfy.org"],"gitSource":{"type":"github","owner":"comfy-org","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0e056121e68dc65a10a8ba","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"en","tag":"Built-in Nodes","count":1216},{"language":"ja","tag":"組み込みノード","count":1216},{"language":"zh","tag":"内置节点","count":1216},{"language":"en","tag":"Nodes","count":1215},{"language":"ja","tag":"ノード","count":1215},{"language":"zh","tag":"节点","count":1215},{"language":"ko","tag":"내장 노드 (Built-in Nodes)","count":1174},{"language":"ko","tag":"노드","count":1173},{"language":"es","tag":"Nodos integrados","count":1108},{"language":"es","tag":"Nodos","count":1107},{"language":"en","tag":"Tutorials","count":448},{"language":"es","tag":"Tutoriales","count":447},{"language":"ja","tag":"API 開発","count":446},{"language":"ko","tag":"API 개발","count":446},{"language":"zh","tag":"API 开发","count":446},{"language":"en","tag":"Partner","count":387},{"language":"ja","tag":"Partner","count":387},{"language":"ko","tag":"Partner","count":387},{"language":"zh","tag":"Partner","count":387},{"language":"en","tag":"Model","count":385},{"language":"es","tag":"Partner","count":385},{"language":"ja","tag":"Model","count":385},{"language":"ko","tag":"Model","count":385},{"language":"zh","tag":"Model","count":385},{"language":"es","tag":"Modelo","count":378},{"language":"ja","tag":"はじめに","count":371},{"language":"ko","tag":"시작하기","count":371},{"language":"zh","tag":"开始使用","count":371},{"language":"en","tag":"Image","count":366},{"language":"es","tag":"Comfy Router","count":358},{"language":"en","tag":"Comfy Router","count":351},{"language":"ja","tag":"Comfy Router","count":349},{"language":"ko","tag":"Comfy Router","count":349},{"language":"zh","tag":"Comfy Router","count":349},{"language":"es","tag":"Imagen","count":333},{"language":"en","tag":"Agent tools","count":327},{"language":"en","tag":"Catalog","count":319},{"language":"en","tag":"Models","count":319},{"language":"es","tag":"Models","count":318},{"language":"ja","tag":"Models","count":318},{"language":"ko","tag":"Models","count":318},{"language":"zh","tag":"Models","count":318},{"language":"es","tag":"All Models","count":315},{"language":"es","tag":"Video","count":285},{"language":"ja","tag":"画像","count":221},{"language":"ko","tag":"이미지","count":221},{"language":"zh","tag":"图像","count":221},{"language":"ja","tag":"Video","count":208},{"language":"zh","tag":"Video","count":208},{"language":"ko","tag":"Video","count":191}],"searchSettings":{"maxResults":10}},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":":root{--ink-900: #151417;--hub-shell-light: #f7f6f9;--accent-purple: #49378b;--accent-yellow: #f2ff59;--primary: 73 55 139 !important;--primary-light: 242 255 89 !important;--primary-dark: 242 255 89 !important}html.dark{--primary: 242 255 89 !important;--background-dark: 14 14 13 !important}html.dark body{background-color:#0e0e0d!important}html.dark #navbar,html.dark #navbar-transition{background-color:var(--ink-900)!important}html.dark #sidebar,html.dark #sidebar-content{background-color:rgb(var(--background-dark))!important}html.dark #navbar,html.dark #navbar-transition{box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.dark #navbar-transition{border-bottom:1px solid rgba(255, 255, 255, 0.08)!important;opacity:1!important}html.dark img.nav-logo{filter:none}html.dark #sidebar-content a:not([aria-current=\"page\"]){color:rgba(255, 255, 255, 0.72)!important}html.dark #sidebar-content a:not([aria-current=\"page\"]) *{color:inherit!important}html.dark #sidebar-content a[aria-current=\"page\"]{color:var(--accent-yellow)!important;background-color:rgba(242, 255, 89, 0.10)!important}html.dark #sidebar-content a[aria-current=\"page\"] *{color:inherit!important}html.dark .nav-tabs-item[data-active],html.dark mobile-nav-tabs-item[data-active]{color:var(--accent-yellow)!important}html.dark #navbar a[href*=\"comfy.org/cloud\"] span.absolute{background-color:var(--accent-yellow)!important}html.dark #navbar a[href*=\"comfy.org/cloud\"] span.text-white{color:#151417!important}html:not(.dark) #background-color,html:not(.dark) #navbar,html:not(.dark) #navbar-transition,html:not(.dark) #sidebar,html:not(.dark) #sidebar-content{background-color:var(--hub-shell-light)!important}html:not(.dark) .nav-tabs-item[data-active],html:not(.dark) mobile-nav-tabs-item[data-active],html:not(.dark) nav-dropdown-item[data-active]{background-color:transparent!important;box-shadow:none!important;color:var(--accent-purple)!important;font-weight:600!important}html:not(.dark) .nav-tabs-item[data-active] *,html:not(.dark) mobile-nav-tabs-item[data-active] *,html:not(.dark) nav-dropdown-item[data-active] *{color:inherit!important}html:not(.dark) #sidebar-content li:has(>a[aria-current=\"page\"]){background-color:transparent!important;box-shadow:none!important}html:not(.dark) #sidebar-content a[aria-current=\"page\"]{color:var(--accent-purple)!important;background-color:rgba(73, 55, 139, 0.1)!important;font-weight:600!important}html:not(.dark) #sidebar-content a[aria-current=\"page\"] *{color:inherit!important}html:not(.dark) toc-item[data-active],html:not(.dark) toc-item[data-active-deepest],html:not(.dark) toc-item[data-active] a,html:not(.dark) toc-item[data-active-deepest] a{background-color:transparent!important;color:var(--accent-purple)!important;font-weight:600!important}html:not(.dark) #header :where(h1,h2,h3,h4,h5,h6),html:not(.dark) #content-area :where(h1,h2,h3,h4,h5,h6){color:#151417!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"]{background-color:transparent!important;color:var(--accent-purple)!important;border-radius:0.75rem;box-shadow:inset 0 0 0 1px var(--accent-purple)!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"] span.absolute{background-color:transparent!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"] *{color:inherit!important}#sidebar .sticky.top-0.pointer-events-none.bg-linear-to-b{background-image:none!important}@media (min-width: 1024px){#navbar.is-not-custom.is-not-center+div:has(>#sidebar),.max-w-8xl.mx-auto.relative,.max-w-8xl.mx-auto{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}#navbar [class*=\"px-12\"],#navbar [class*=\"mx-4\"]{padding-left:0!important;padding-right:1.5rem!important;margin-left:0!important;margin-right:0!important}#navbar a.select-none,#navbar .nav-logo{margin-left:1rem!important}#navbar .nav-tabs{padding-left:2rem!important}#sidebar{left:0!important;margin-left:0!important;box-shadow:none!important}#sidebar-content{margin-left:0!important;padding-left:1rem!important;box-sizing:border-box!important}#navbar,#navbar-transition{left:0!important;right:0!important;width:100%!important;max-width:none!important}#content-area{margin-left:0!important;max-width:none!important;width:100%!important;padding-left:18rem!important}#sidebar.sticky~#content-container #content-area{padding-left:2rem!important;padding-right:2rem!important}#content-container,#body-content{max-width:none!important;width:100%!important}:root{--content-width: 100%;--sidebar-width: 18rem}}@media (min-width: 1024px){nav#sidebar,#sidebar[style]{left:0!important;right:auto!important;margin-left:0!important;transform:none!important}#navbar li.navbar-link:has(a[href*=\"comfy.org/download\"]){margin-right:0!important}#navbar a[href*=\"comfy.org/download\"]{box-sizing:border-box;border:1px solid rgb(255 255 255 / 0.22);border-radius:0.75rem;padding:7px 0.875rem!important;color:#fff!important;font-size:0.875rem;line-height:1.25rem}html:not(.dark) #navbar a[href*=\"comfy.org/download\"]{border-color:rgb(0 0 0 / 0.16);color:#151417!important}#navbar a[href*=\"comfy.org/download\"]:hover{background:rgb(255 255 255 / 0.06)}html:not(.dark) #navbar a[href*=\"comfy.org/download\"]:hover{background:rgb(0 0 0 / 0.04)}#navbar li.navbar-link:has(a[href*=\"comfy.org/download\"])+.whitespace-nowrap,#navbar .flex.space-x-6>.whitespace-nowrap.hidden{margin-left:0.5rem!important}}body:has(.router-api-reference-marker) #content,body:has(.router-api-reference-marker) #header{max-width:48rem}body:has(.router-api-reference-marker) #content-area table{width:100%;table-layout:auto}body:has(.router-api-reference-marker) #content-area th,body:has(.router-api-reference-marker) #content-area td{min-width:4rem!important;overflow-wrap:anywhere}body:has(.router-api-reference-marker) #content-area table:has(th:nth-child(6)) th:nth-child(3),body:has(.router-api-reference-marker) #content-area table:has(th:nth-child(6)) td:nth-child(3){min-width:5rem!important}@media (max-width: 1535px){body:has(.router-api-reference-marker) #content-side-layout{display:none!important}}body:has(.router-provider-coverage-marker) #content,body:has(.router-provider-coverage-marker) #header{max-width:64rem}body:has(.router-provider-coverage-marker) #content-area table{width:100%;table-layout:auto}body:has(.router-provider-coverage-marker) #content-area th,body:has(.router-provider-coverage-marker) #content-area td{min-width:5rem!important;overflow-wrap:anywhere}body:has(.router-provider-coverage-marker) #content-area th:first-child,body:has(.router-provider-coverage-marker) #content-area td:first-child{min-width:12rem!important}body:has(.router-quickstart-marker) [data-component-part=\"card-content\"] [data-component-part=\"code-block-root\"][style*=\"height:190px\"],body:has(.router-quickstart-marker) [data-component-part=\"card-content\"] [data-component-part=\"code-block-root\"][style*=\"height: 190px\"]{height:86px!important}#content img:not([data-component-part=\"card-image\"]){max-width:min(100%, 750px)}#content .frame:has(img){max-width:calc(750px + 1rem)}"},{"filePath":"samples-cards.css","content":".sample-card-grid{display:grid;gap:20px;grid-template-columns:repeat(2, minmax(0, 1fr));margin-top:28px}.sample-card{min-width:0;perspective:1200px}.sample-card-inner{height:565px;position:relative;transform-style:preserve-3d;transition:transform 560ms cubic-bezier(.2, .75, .3, 1)}.sample-card[data-flipped=\"true\"] .sample-card-inner{transform:rotateY(180deg)}.sample-card-face{backface-visibility:hidden;background:#fff;border:1px solid #e5e1eb;border-radius:12px;box-sizing:border-box;height:100%;inset:0;overflow:hidden;position:absolute;width:100%}.sample-card-front{display:flex;flex-direction:column}.sample-card-back{opacity:0;pointer-events:none;transform:rotateY(180deg);visibility:hidden}.sample-card[data-flipped=\"true\"] .sample-card-front{pointer-events:none;transition:visibility 0s linear 280ms;visibility:hidden}.sample-card[data-flipped=\"true\"][data-active-path=\"api\"] .sample-card-back[data-sample-path=\"api\"],.sample-card[data-flipped=\"true\"][data-active-path=\"endpoint\"] .sample-card-back[data-sample-path=\"endpoint\"]{opacity:1;pointer-events:auto;visibility:visible}.sample-card-preview{border-bottom:1px solid #e5e1eb;cursor:pointer;display:block;width:100%}.sample-card-body{display:flex;flex:1;flex-direction:column;padding:20px}.sample-card-body h2,.sample-path-body h2{color:#49378b;font-size:18px;font-weight:700;letter-spacing:-.02em;margin:0 0 8px}.sample-path-body h2{text-align:center}.sample-card-body>p{color:#5f5966;font-size:14px;line-height:1.55;margin:0;min-height:66px}.sample-card-actions{display:flex;gap:8px;margin-top:20px}.sample-card-actions button{background:#fff;border:1px solid #cfc8de;border-radius:6px;color:#49378b;cursor:pointer;flex:1;font-size:13px;font-weight:700;padding:10px 12px}.sample-card-links{border-top:1px solid #eeeaf1;display:flex;gap:8px;margin-top:16px;padding-top:12px}.sample-card-links a{color:#625b6c;font-size:12px;font-weight:650;text-decoration:none}.sample-card-links span{color:#b3adba}.sample-path-body{padding:20px}.sample-path-body>button{background:transparent;border:0;color:#625b6c;cursor:pointer;font-size:12px;font-weight:700;padding:0}.sample-path-eyebrow{color:#857a9e;font-size:10px;font-weight:700;letter-spacing:.08em;margin:19px 0 5px;text-align:center;text-transform:uppercase}.sample-path-body>p:not(.sample-path-eyebrow){color:#5f5966;font-size:12px;line-height:1.5;margin:0 0 15px}.sample-path-steps{display:grid;gap:8px}.sample-path-step{align-items:center;background:#faf9fc;border:1px solid #e5e1ea;border-radius:8px;display:flex;gap:10px;padding:10px 11px}.sample-path-number{align-items:center;background:#49378b;border-radius:999px;color:#fff;display:inline-flex;flex:0 0 21px;font-size:11px;font-weight:700;height:21px;justify-content:center}.sample-path-copy{flex:1;min-width:0}.sample-path-copy strong{color:#312c36;display:block;font-size:12px}.sample-path-copy span{color:#706a75;display:block;font-size:11px;line-height:1.35;margin-top:2px}.sample-path-step a{color:#49378b;flex:0 0 auto;font-size:11px;font-weight:700;text-decoration:none}@media (max-width: 768px){.sample-card-grid{grid-template-columns:1fr}.sample-card-inner{height:clamp(620px, 180vw, 760px)}}"}]}
{"page":{"pagePath":"api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","slug":"/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","pageMetadata":{"title":"Roll a deployment back to an earlier revision's release","description":"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\n","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml post /v1/deployments/{id}/rollback","href":"/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Roll a deployment back to an earlier revision's release","description":"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\n","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml post /v1/deployments/{id}/rollback","href":"/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dripart/0598a3d384a97986/giscus-comments.js","/_mintlify/custom/dripart/bd0341946f3c75a6/syft.js","/_mintlify/custom/dripart/042392a43b5e681e/samples-cards.js"],"openApiReferenceData":{"operation":{"operationId":"rollbackDeployment","summary":"Roll a deployment back to an earlier revision's release","description":"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\n","parameters":["cd93fed4-166e-48bc-b47d-1866bce27695"],"requestBody":"3c7233ba-12fc-4cbb-997f-94bb924b4bca","responses":{"200":"c1780c5b-6c51-449f-8998-c71abebb30b6","202":"dce00817-a31e-45a5-93b7-698cf837c76b","400":"ba8719be-8560-49cd-8b82-7856d699b9bd","401":"bd929e90-e256-42c4-81eb-54891583ec85","402":"249bc778-1bb0-4891-bc74-a245c7e01a86","403":"02834a3a-b857-494b-b462-9560fa24a812","404":"ecc10106-1924-421c-a626-ef81ef2b8f7c","409":"ea52de61-bfb3-48ca-ae23-99ab05f08ca1","429":"b7ad7c50-8dd5-4dd9-9b2e-c520dba63e48","503":"e26db2c2-5981-4d62-8151-fe9affa56c63"},"method":"post","type":"path","servers":["a6b13867-91c4-4d9b-984b-59f868c5bf27"],"security":["75c50e62-6bd5-472f-86b8-3d55ad9d681d","a70e6c66-a389-46bd-8980-d25e200bac2d"],"path":"/v1/deployments/{id}/rollback","baseUrlOptions":["https://platformapi.comfy.org/deploy"],"title":"Roll a deployment back to an earlier revision's release","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"cd93fed4-166e-48bc-b47d-1866bce27695":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["baseRevision"],"properties":{"baseRevision":{"type":"integer","description":"The revision the caller last read. The rollback is refused once another change has moved the deployment past it.","isRequired":true,"uniqueKey":"baseRevision","typeLabel":"integer"},"toRevision":{"type":"integer","description":"The earlier revision whose release to return to; the revision before the current one when omitted.","uniqueKey":"toRevision","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"baseRevision":123,"toRevision":123}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c1780c5b-6c51-449f-8998-c71abebb30b6":{"description":"The deployment runs the earlier revision's release now.","content":{"application/json":{"schema":{"type":"object","description":"Where a rollback left the deployment.","required":["id","revision","releaseId","kind"],"properties":{"id":{"type":"string","description":"The deployment's id, which a rollback never changes.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"revision":{"type":"integer","description":"The deployment's current revision.","isRequired":true,"uniqueKey":"revision","typeLabel":"integer"},"releaseId":{"type":"string","description":"The release the deployment runs at that revision.","isRequired":true,"uniqueKey":"releaseId","typeLabel":"string"},"kind":{"type":"string","description":"What made that revision: rollback, or, where the target release was already current, that revision's own kind. Open: clients tolerate values they do not know.","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"fromRevision":{"type":"integer","description":"The revision a rollback restored; absent on any other kind.","uniqueKey":"fromRevision","typeLabel":"integer"},"pendingUpdate":{"oneOf":[{"type":"object","description":"An update that waits for its release's running copy to be ready, or an unfinished cancellation of that copy. Cancellation keeps the original baseRevision and since so existing clients can retry stop/delete after dispatch failure. An unfinished cancellation reads failed, keeping its dismissal available even while the copy is stopping. Null after the move or cancellation finishes.","required":["releaseId","baseRevision","status","since"],"properties":{"releaseId":{"type":"string","description":"The release the deployment moves to once it is ready.","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.releaseId","typeLabel":"string"},"baseRevision":{"type":"integer","description":"The revision the update was asked against.","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.baseRevision","typeLabel":"integer"},"status":{"type":"string","description":"Lifecycle state. unhealthy is a recoverable post-ready state: the deployment was serving but its endpoint degraded or vanished, and the control plane will move it back to ready if it recovers. stop_failed means a stop ran but could not release the compute, so the deployment may still be holding (and billing for) its endpoint; it is not terminal, and stopping it again retries the release. stopped and failed are terminal.","enum":["queued","provisioning","starting","ready","unhealthy","stopping","stop_failed","stopped","failed"],"isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.status","typeLabel":"enum\u003cstring>"},"since":{"type":"string","format":"date-time","description":"When the update was asked for.","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.since","typeLabel":"string\u003cdate-time>"},"instanceGroupId":{"type":"string","description":"The particular copy, distinguishing copies of the same release.","uniqueKey":"pendingUpdate.oneOf.0.instanceGroupId","typeLabel":"string"},"computeConfig":{"type":"object","description":"The requested serverless shape. The endpoint autoscales between min and max workers on demand (min 0 scales to zero when idle). region names where the deployment runs, at any level the catalog lists: the endpoint and its network volume stay bound to that placement. Changing GPU class or region creates a separate copy while preserving the deployment id and URL. Deployment reads report serving settings while ready; stopped/failed reads report accepted next-start settings when a compute request is stored.\n","required":["gpuClass","region"],"properties":{"gpuClass":{"type":"string","description":"GPU class the deployment runs on, as the catalog publishes it (e.g. rtx-pro-6000-server). Creating a deployment accepts a provider's own card id too and records the class covering it. Editing one does not translate either value: it compares what you send against what the deployment stores, so send back the class that deployment reports.\n","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.computeConfig.gpuClass","typeLabel":"string"},"region":{"type":"string","description":"Location the deployment runs in, at any level the catalog lists (e.g. north-america, us-central). It is recorded exactly as sent and fixes where each copy's models volume is created and staged. Changing it prepares a separate copy while preserving the deployment id and URL.\n","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.computeConfig.region","typeLabel":"string"},"min":{"type":"integer","minimum":0,"description":"Minimum warm workers; 0 scales to zero when idle.","uniqueKey":"pendingUpdate.oneOf.0.computeConfig.min","typeLabel":"integer"},"max":{"type":"integer","minimum":1,"description":"Maximum workers the endpoint scales up to.","uniqueKey":"pendingUpdate.oneOf.0.computeConfig.max","typeLabel":"integer"},"keepWarmSeconds":{"type":"integer","minimum":30,"maximum":1200,"description":"Seconds a worker stays up after its last job before it is released, so a job arriving inside the window meets a warm worker instead of a cold start. That idle time is billed. Defaults to 180 when omitted, and a read reports 180 for a deployment that never set it. A value outside 30 to 1200 is refused with a 400; twenty minutes is the longest window every GPU provider can hold. Applied when compute is provisioned, so changing it on a ready deployment is refused: edit while stopped, or stop and start. On an update, omitting the field keeps the stored value.\n","uniqueKey":"pendingUpdate.oneOf.0.computeConfig.keepWarmSeconds","typeLabel":"integer"},"startupArgs":{"type":"array","maxItems":16,"items":{"type":"string","maxLength":64,"uniqueKey":"pendingUpdate.oneOf.0.computeConfig.startupArgs.items.[INDEX]","typeLabel":"string"},"description":"Extra ComfyUI command-line flags the worker adds to its main.py launch, one token per item (e.g. [\"--highvram\"] or [\"--reserve-vram\", \"2\"]). Only the service's allowlist is accepted: the VRAM strategy (--gpu-only, --highvram, --lowvram, --novram, --reserve-vram N, --vram-headroom N, --disable-smart-memory, --async-offload [N], --disable-async-offload, --enable-dynamic-vram, --disable-dynamic-vram, --disable-pinned-memory, --fast-disk, --mmap-torch-files, --disable-mmap), precision (--force-fp32, --force-fp16, --fp32-unet, --fp64-unet, --bf16-unet, --fp16-unet, --fp8_e4m3fn-unet, --fp8_e5m2-unet, --fp8_e8m0fnu-unet, --fp16-vae, --fp32-vae, --bf16-vae, --cpu-vae, --fp16-text-enc, --fp32-text-enc, --bf16-text-enc, --fp8_e4m3fn-text-enc, --fp8_e5m2-text-enc, --fp16-intermediates, --force-channels-last), the attention backend (--use-pytorch-cross-attention, --use-sage-attention, --use-flash-attention, --use-split-cross-attention, --use-quad-cross-attention, --disable-xformers, --force-upcast-attention, --dont-upcast-attention), the node cache (--cache-classic, --cache-none, --cache-lru N, --cache-ram [GB [GB]]) and performance (--fast [features], --deterministic, --cuda-malloc, --disable-cuda-malloc, --disable-cuda-graphs). Anything else, including a flag that changes where ComfyUI listens or reads files, is refused with a 400 naming the token. Values are checked too: gigabyte amounts (--reserve-vram, --vram-headroom, --cache-ram) are decimal numbers, counts (--cache-lru, --async-offload) are whole numbers, and --fast takes ComfyUI's feature names. The field is accepted only where the environment has enabled it, once the worker that reads it is live. The flag must exist in the build's own ComfyUI version, or the worker fails to boot and the deployment fails; ComfyUI's own error is then readable from GET /v1/deployments/{id}/logs. Applied when compute is provisioned, so changing it on a ready deployment is refused: edit while stopped, or stop and start. On an update, omitting the field keeps the stored flags and an empty array clears them.\n","uniqueKey":"pendingUpdate.oneOf.0.computeConfig.startupArgs","typeLabel":"string[]"}},"uniqueKey":"pendingUpdate.oneOf.0.computeConfig","typeLabel":"object"},"kind":{"type":"string","description":"update, compute for a placement move, or rollback for a rollback waiting on its release's copy. Open: clients tolerate values they do not know.","uniqueKey":"pendingUpdate.oneOf.0.kind","typeLabel":"string"},"fromRevision":{"type":"integer","description":"The revision a waiting rollback restores; absent on an update.","uniqueKey":"pendingUpdate.oneOf.0.fromRevision","typeLabel":"integer"},"waitingForBuild":{"type":"string","description":"The release whose build the update's copy waits for before it starts. Present only while that copy is queued for the build; absent otherwise, and on an unfinished cancellation.","uniqueKey":"pendingUpdate.oneOf.0.waitingForBuild","typeLabel":"string"}},"uniqueKey":"pendingUpdate.oneOf.0","typeLabel":"object"},{"type":"null","description":"An update that waits for its release's running copy to be ready, or an unfinished cancellation of that copy. Cancellation keeps the original baseRevision and since so existing clients can retry stop/delete after dispatch failure. An unfinished cancellation reads failed, keeping its dismissal available even while the copy is stopping. Null after the move or cancellation finishes.","required":["releaseId","baseRevision","status","since"],"properties":{"releaseId":{"type":"string","description":"The release the deployment moves to once it is ready."},"baseRevision":{"type":"integer","description":"The revision the update was asked against."},"status":{"type":"string","description":"Lifecycle state. unhealthy is a recoverable post-ready state: the deployment was serving but its endpoint degraded or vanished, and the control plane will move it back to ready if it recovers. stop_failed means a stop ran but could not release the compute, so the deployment may still be holding (and billing for) its endpoint; it is not terminal, and stopping it again retries the release. stopped and failed are terminal.","enum":["queued","provisioning","starting","ready","unhealthy","stopping","stop_failed","stopped","failed"]},"since":{"type":"string","format":"date-time","description":"When the update was asked for."},"instanceGroupId":{"type":"string","description":"The particular copy, distinguishing copies of the same release."},"computeConfig":{"type":"object","description":"The requested serverless shape. The endpoint autoscales between min and max workers on demand (min 0 scales to zero when idle). region names where the deployment runs, at any level the catalog lists: the endpoint and its network volume stay bound to that placement. Changing GPU class or region creates a separate copy while preserving the deployment id and URL. Deployment reads report serving settings while ready; stopped/failed reads report accepted next-start settings when a compute request is stored.\n","required":["gpuClass","region"],"properties":{"gpuClass":{"type":"string","description":"GPU class the deployment runs on, as the catalog publishes it (e.g. rtx-pro-6000-server). Creating a deployment accepts a provider's own card id too and records the class covering it. Editing one does not translate either value: it compares what you send against what the deployment stores, so send back the class that deployment reports.\n"},"region":{"type":"string","description":"Location the deployment runs in, at any level the catalog lists (e.g. north-america, us-central). It is recorded exactly as sent and fixes where each copy's models volume is created and staged. Changing it prepares a separate copy while preserving the deployment id and URL.\n"},"min":{"type":"integer","minimum":0,"description":"Minimum warm workers; 0 scales to zero when idle."},"max":{"type":"integer","minimum":1,"description":"Maximum workers the endpoint scales up to."},"keepWarmSeconds":{"type":"integer","minimum":30,"maximum":1200,"description":"Seconds a worker stays up after its last job before it is released, so a job arriving inside the window meets a warm worker instead of a cold start. That idle time is billed. Defaults to 180 when omitted, and a read reports 180 for a deployment that never set it. A value outside 30 to 1200 is refused with a 400; twenty minutes is the longest window every GPU provider can hold. Applied when compute is provisioned, so changing it on a ready deployment is refused: edit while stopped, or stop and start. On an update, omitting the field keeps the stored value.\n"},"startupArgs":{"type":"array","maxItems":16,"items":{"type":"string","maxLength":64},"description":"Extra ComfyUI command-line flags the worker adds to its main.py launch, one token per item (e.g. [\"--highvram\"] or [\"--reserve-vram\", \"2\"]). Only the service's allowlist is accepted: the VRAM strategy (--gpu-only, --highvram, --lowvram, --novram, --reserve-vram N, --vram-headroom N, --disable-smart-memory, --async-offload [N], --disable-async-offload, --enable-dynamic-vram, --disable-dynamic-vram, --disable-pinned-memory, --fast-disk, --mmap-torch-files, --disable-mmap), precision (--force-fp32, --force-fp16, --fp32-unet, --fp64-unet, --bf16-unet, --fp16-unet, --fp8_e4m3fn-unet, --fp8_e5m2-unet, --fp8_e8m0fnu-unet, --fp16-vae, --fp32-vae, --bf16-vae, --cpu-vae, --fp16-text-enc, --fp32-text-enc, --bf16-text-enc, --fp8_e4m3fn-text-enc, --fp8_e5m2-text-enc, --fp16-intermediates, --force-channels-last), the attention backend (--use-pytorch-cross-attention, --use-sage-attention, --use-flash-attention, --use-split-cross-attention, --use-quad-cross-attention, --disable-xformers, --force-upcast-attention, --dont-upcast-attention), the node cache (--cache-classic, --cache-none, --cache-lru N, --cache-ram [GB [GB]]) and performance (--fast [features], --deterministic, --cuda-malloc, --disable-cuda-malloc, --disable-cuda-graphs). Anything else, including a flag that changes where ComfyUI listens or reads files, is refused with a 400 naming the token. Values are checked too: gigabyte amounts (--reserve-vram, --vram-headroom, --cache-ram) are decimal numbers, counts (--cache-lru, --async-offload) are whole numbers, and --fast takes ComfyUI's feature names. The field is accepted only where the environment has enabled it, once the worker that reads it is live. The flag must exist in the build's own ComfyUI version, or the worker fails to boot and the deployment fails; ComfyUI's own error is then readable from GET /v1/deployments/{id}/logs. Applied when compute is provisioned, so changing it on a ready deployment is refused: edit while stopped, or stop and start. On an update, omitting the field keeps the stored flags and an empty array clears them.\n"}}},"kind":{"type":"string","description":"update, compute for a placement move, or rollback for a rollback waiting on its release's copy. Open: clients tolerate values they do not know."},"fromRevision":{"type":"integer","description":"The revision a waiting rollback restores; absent on an update."},"waitingForBuild":{"type":"string","description":"The release whose build the update's copy waits for before it starts. Present only while that copy is queued for the build; absent otherwise, and on an unfinished cancellation."}},"uniqueKey":"pendingUpdate.oneOf.1","typeLabel":"null"}],"uniqueKey":"pendingUpdate","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","revision":123,"releaseId":"\u003cstring>","kind":"\u003cstring>","fromRevision":123,"pendingUpdate":{"releaseId":"\u003cstring>","baseRevision":123,"status":"queued","since":"2023-11-07T05:31:56Z","instanceGroupId":"\u003cstring>","computeConfig":{"gpuClass":"\u003cstring>","region":"\u003cstring>","min":1,"max":2,"keepWarmSeconds":615,"startupArgs":["\u003cstring>"]},"kind":"\u003cstring>","fromRevision":123,"waitingForBuild":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"dce00817-a31e-45a5-93b7-698cf837c76b":{"description":"The release's copy is starting, or a new one is, and the deployment moves to it once it is ready. Nothing has moved yet, so revision, releaseId and kind describe the current revision, and pendingUpdate, of kind rollback, says what waits.\n","content":{"application/json":{"schema":{"type":"object","description":"Where a rollback left the deployment.","required":["id","revision","releaseId","kind"],"properties":{"id":{"type":"string","description":"The deployment's id, which a rollback never changes.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"revision":{"type":"integer","description":"The deployment's current revision.","isRequired":true,"uniqueKey":"revision","typeLabel":"integer"},"releaseId":{"type":"string","description":"The release the deployment runs at that revision.","isRequired":true,"uniqueKey":"releaseId","typeLabel":"string"},"kind":{"type":"string","description":"What made that revision: rollback, or, where the target release was already current, that revision's own kind. Open: clients tolerate values they do not know.","isRequired":true,"uniqueKey":"kind","typeLabel":"string"},"fromRevision":{"type":"integer","description":"The revision a rollback restored; absent on any other kind.","uniqueKey":"fromRevision","typeLabel":"integer"},"pendingUpdate":{"oneOf":[{"type":"object","description":"An update that waits for its release's running copy to be ready, or an unfinished cancellation of that copy. Cancellation keeps the original baseRevision and since so existing clients can retry stop/delete after dispatch failure. An unfinished cancellation reads failed, keeping its dismissal available even while the copy is stopping. Null after the move or cancellation finishes.","required":["releaseId","baseRevision","status","since"],"properties":{"releaseId":{"type":"string","description":"The release the deployment moves to once it is ready.","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.releaseId","typeLabel":"string"},"baseRevision":{"type":"integer","description":"The revision the update was asked against.","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.baseRevision","typeLabel":"integer"},"status":{"type":"string","description":"Lifecycle state. unhealthy is a recoverable post-ready state: the deployment was serving but its endpoint degraded or vanished, and the control plane will move it back to ready if it recovers. stop_failed means a stop ran but could not release the compute, so the deployment may still be holding (and billing for) its endpoint; it is not terminal, and stopping it again retries the release. stopped and failed are terminal.","enum":["queued","provisioning","starting","ready","unhealthy","stopping","stop_failed","stopped","failed"],"isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.status","typeLabel":"enum\u003cstring>"},"since":{"type":"string","format":"date-time","description":"When the update was asked for.","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.since","typeLabel":"string\u003cdate-time>"},"instanceGroupId":{"type":"string","description":"The particular copy, distinguishing copies of the same release.","uniqueKey":"pendingUpdate.oneOf.0.instanceGroupId","typeLabel":"string"},"computeConfig":{"type":"object","description":"The requested serverless shape. The endpoint autoscales between min and max workers on demand (min 0 scales to zero when idle). region names where the deployment runs, at any level the catalog lists: the endpoint and its network volume stay bound to that placement. Changing GPU class or region creates a separate copy while preserving the deployment id and URL. Deployment reads report serving settings while ready; stopped/failed reads report accepted next-start settings when a compute request is stored.\n","required":["gpuClass","region"],"properties":{"gpuClass":{"type":"string","description":"GPU class the deployment runs on, as the catalog publishes it (e.g. rtx-pro-6000-server). Creating a deployment accepts a provider's own card id too and records the class covering it. Editing one does not translate either value: it compares what you send against what the deployment stores, so send back the class that deployment reports.\n","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.computeConfig.gpuClass","typeLabel":"string"},"region":{"type":"string","description":"Location the deployment runs in, at any level the catalog lists (e.g. north-america, us-central). It is recorded exactly as sent and fixes where each copy's models volume is created and staged. Changing it prepares a separate copy while preserving the deployment id and URL.\n","isRequired":true,"uniqueKey":"pendingUpdate.oneOf.0.computeConfig.region","typeLabel":"string"},"min":{"type":"integer","minimum":0,"description":"Minimum warm workers; 0 scales to zero when idle.","uniqueKey":"pendingUpdate.oneOf.0.computeConfig.min","typeLabel":"integer"},"max":{"type":"integer","minimum":1,"description":"Maximum workers the endpoint scales up to.","uniqueKey":"pendingUpdate.oneOf.0.computeConfig.max","typeLabel":"integer"},"keepWarmSeconds":{"type":"integer","minimum":30,"maximum":1200,"description":"Seconds a worker stays up after its last job before it is released, so a job arriving inside the window meets a warm worker instead of a cold start. That idle time is billed. Defaults to 180 when omitted, and a read reports 180 for a deployment that never set it. A value outside 30 to 1200 is refused with a 400; twenty minutes is the longest window every GPU provider can hold. Applied when compute is provisioned, so changing it on a ready deployment is refused: edit while stopped, or stop and start. On an update, omitting the field keeps the stored value.\n","uniqueKey":"pendingUpdate.oneOf.0.computeConfig.keepWarmSeconds","typeLabel":"integer"},"startupArgs":{"type":"array","maxItems":16,"items":{"type":"string","maxLength":64,"uniqueKey":"pendingUpdate.oneOf.0.computeConfig.startupArgs.items.[INDEX]","typeLabel":"string"},"description":"Extra ComfyUI command-line flags the worker adds to its main.py launch, one token per item (e.g. [\"--highvram\"] or [\"--reserve-vram\", \"2\"]). Only the service's allowlist is accepted: the VRAM strategy (--gpu-only, --highvram, --lowvram, --novram, --reserve-vram N, --vram-headroom N, --disable-smart-memory, --async-offload [N], --disable-async-offload, --enable-dynamic-vram, --disable-dynamic-vram, --disable-pinned-memory, --fast-disk, --mmap-torch-files, --disable-mmap), precision (--force-fp32, --force-fp16, --fp32-unet, --fp64-unet, --bf16-unet, --fp16-unet, --fp8_e4m3fn-unet, --fp8_e5m2-unet, --fp8_e8m0fnu-unet, --fp16-vae, --fp32-vae, --bf16-vae, --cpu-vae, --fp16-text-enc, --fp32-text-enc, --bf16-text-enc, --fp8_e4m3fn-text-enc, --fp8_e5m2-text-enc, --fp16-intermediates, --force-channels-last), the attention backend (--use-pytorch-cross-attention, --use-sage-attention, --use-flash-attention, --use-split-cross-attention, --use-quad-cross-attention, --disable-xformers, --force-upcast-attention, --dont-upcast-attention), the node cache (--cache-classic, --cache-none, --cache-lru N, --cache-ram [GB [GB]]) and performance (--fast [features], --deterministic, --cuda-malloc, --disable-cuda-malloc, --disable-cuda-graphs). Anything else, including a flag that changes where ComfyUI listens or reads files, is refused with a 400 naming the token. Values are checked too: gigabyte amounts (--reserve-vram, --vram-headroom, --cache-ram) are decimal numbers, counts (--cache-lru, --async-offload) are whole numbers, and --fast takes ComfyUI's feature names. The field is accepted only where the environment has enabled it, once the worker that reads it is live. The flag must exist in the build's own ComfyUI version, or the worker fails to boot and the deployment fails; ComfyUI's own error is then readable from GET /v1/deployments/{id}/logs. Applied when compute is provisioned, so changing it on a ready deployment is refused: edit while stopped, or stop and start. On an update, omitting the field keeps the stored flags and an empty array clears them.\n","uniqueKey":"pendingUpdate.oneOf.0.computeConfig.startupArgs","typeLabel":"string[]"}},"uniqueKey":"pendingUpdate.oneOf.0.computeConfig","typeLabel":"object"},"kind":{"type":"string","description":"update, compute for a placement move, or rollback for a rollback waiting on its release's copy. Open: clients tolerate values they do not know.","uniqueKey":"pendingUpdate.oneOf.0.kind","typeLabel":"string"},"fromRevision":{"type":"integer","description":"The revision a waiting rollback restores; absent on an update.","uniqueKey":"pendingUpdate.oneOf.0.fromRevision","typeLabel":"integer"},"waitingForBuild":{"type":"string","description":"The release whose build the update's copy waits for before it starts. Present only while that copy is queued for the build; absent otherwise, and on an unfinished cancellation.","uniqueKey":"pendingUpdate.oneOf.0.waitingForBuild","typeLabel":"string"}},"uniqueKey":"pendingUpdate.oneOf.0","typeLabel":"object"},{"type":"null","description":"An update that waits for its release's running copy to be ready, or an unfinished cancellation of that copy. Cancellation keeps the original baseRevision and since so existing clients can retry stop/delete after dispatch failure. An unfinished cancellation reads failed, keeping its dismissal available even while the copy is stopping. Null after the move or cancellation finishes.","required":["releaseId","baseRevision","status","since"],"properties":{"releaseId":{"type":"string","description":"The release the deployment moves to once it is ready."},"baseRevision":{"type":"integer","description":"The revision the update was asked against."},"status":{"type":"string","description":"Lifecycle state. unhealthy is a recoverable post-ready state: the deployment was serving but its endpoint degraded or vanished, and the control plane will move it back to ready if it recovers. stop_failed means a stop ran but could not release the compute, so the deployment may still be holding (and billing for) its endpoint; it is not terminal, and stopping it again retries the release. stopped and failed are terminal.","enum":["queued","provisioning","starting","ready","unhealthy","stopping","stop_failed","stopped","failed"]},"since":{"type":"string","format":"date-time","description":"When the update was asked for."},"instanceGroupId":{"type":"string","description":"The particular copy, distinguishing copies of the same release."},"computeConfig":{"type":"object","description":"The requested serverless shape. The endpoint autoscales between min and max workers on demand (min 0 scales to zero when idle). region names where the deployment runs, at any level the catalog lists: the endpoint and its network volume stay bound to that placement. Changing GPU class or region creates a separate copy while preserving the deployment id and URL. Deployment reads report serving settings while ready; stopped/failed reads report accepted next-start settings when a compute request is stored.\n","required":["gpuClass","region"],"properties":{"gpuClass":{"type":"string","description":"GPU class the deployment runs on, as the catalog publishes it (e.g. rtx-pro-6000-server). Creating a deployment accepts a provider's own card id too and records the class covering it. Editing one does not translate either value: it compares what you send against what the deployment stores, so send back the class that deployment reports.\n"},"region":{"type":"string","description":"Location the deployment runs in, at any level the catalog lists (e.g. north-america, us-central). It is recorded exactly as sent and fixes where each copy's models volume is created and staged. Changing it prepares a separate copy while preserving the deployment id and URL.\n"},"min":{"type":"integer","minimum":0,"description":"Minimum warm workers; 0 scales to zero when idle."},"max":{"type":"integer","minimum":1,"description":"Maximum workers the endpoint scales up to."},"keepWarmSeconds":{"type":"integer","minimum":30,"maximum":1200,"description":"Seconds a worker stays up after its last job before it is released, so a job arriving inside the window meets a warm worker instead of a cold start. That idle time is billed. Defaults to 180 when omitted, and a read reports 180 for a deployment that never set it. A value outside 30 to 1200 is refused with a 400; twenty minutes is the longest window every GPU provider can hold. Applied when compute is provisioned, so changing it on a ready deployment is refused: edit while stopped, or stop and start. On an update, omitting the field keeps the stored value.\n"},"startupArgs":{"type":"array","maxItems":16,"items":{"type":"string","maxLength":64},"description":"Extra ComfyUI command-line flags the worker adds to its main.py launch, one token per item (e.g. [\"--highvram\"] or [\"--reserve-vram\", \"2\"]). Only the service's allowlist is accepted: the VRAM strategy (--gpu-only, --highvram, --lowvram, --novram, --reserve-vram N, --vram-headroom N, --disable-smart-memory, --async-offload [N], --disable-async-offload, --enable-dynamic-vram, --disable-dynamic-vram, --disable-pinned-memory, --fast-disk, --mmap-torch-files, --disable-mmap), precision (--force-fp32, --force-fp16, --fp32-unet, --fp64-unet, --bf16-unet, --fp16-unet, --fp8_e4m3fn-unet, --fp8_e5m2-unet, --fp8_e8m0fnu-unet, --fp16-vae, --fp32-vae, --bf16-vae, --cpu-vae, --fp16-text-enc, --fp32-text-enc, --bf16-text-enc, --fp8_e4m3fn-text-enc, --fp8_e5m2-text-enc, --fp16-intermediates, --force-channels-last), the attention backend (--use-pytorch-cross-attention, --use-sage-attention, --use-flash-attention, --use-split-cross-attention, --use-quad-cross-attention, --disable-xformers, --force-upcast-attention, --dont-upcast-attention), the node cache (--cache-classic, --cache-none, --cache-lru N, --cache-ram [GB [GB]]) and performance (--fast [features], --deterministic, --cuda-malloc, --disable-cuda-malloc, --disable-cuda-graphs). Anything else, including a flag that changes where ComfyUI listens or reads files, is refused with a 400 naming the token. Values are checked too: gigabyte amounts (--reserve-vram, --vram-headroom, --cache-ram) are decimal numbers, counts (--cache-lru, --async-offload) are whole numbers, and --fast takes ComfyUI's feature names. The field is accepted only where the environment has enabled it, once the worker that reads it is live. The flag must exist in the build's own ComfyUI version, or the worker fails to boot and the deployment fails; ComfyUI's own error is then readable from GET /v1/deployments/{id}/logs. Applied when compute is provisioned, so changing it on a ready deployment is refused: edit while stopped, or stop and start. On an update, omitting the field keeps the stored flags and an empty array clears them.\n"}}},"kind":{"type":"string","description":"update, compute for a placement move, or rollback for a rollback waiting on its release's copy. Open: clients tolerate values they do not know."},"fromRevision":{"type":"integer","description":"The revision a waiting rollback restores; absent on an update."},"waitingForBuild":{"type":"string","description":"The release whose build the update's copy waits for before it starts. Present only while that copy is queued for the build; absent otherwise, and on an unfinished cancellation."}},"uniqueKey":"pendingUpdate.oneOf.1","typeLabel":"null"}],"uniqueKey":"pendingUpdate","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","revision":123,"releaseId":"\u003cstring>","kind":"\u003cstring>","fromRevision":123,"pendingUpdate":{"releaseId":"\u003cstring>","baseRevision":123,"status":"queued","since":"2023-11-07T05:31:56Z","instanceGroupId":"\u003cstring>","computeConfig":{"gpuClass":"\u003cstring>","region":"\u003cstring>","min":1,"max":2,"keepWarmSeconds":615,"startupArgs":["\u003cstring>"]},"kind":"\u003cstring>","fromRevision":123,"waitingForBuild":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ba8719be-8560-49cd-8b82-7856d699b9bd":{"description":"Invalid request (INVALID_REQUEST), or RELEASE_AND_SOURCE_BOTH when an update names both a release and a source deployment.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"bd929e90-e256-42c4-81eb-54891583ec85":{"description":"Missing or invalid token (UNAUTHORIZED)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"249bc778-1bb0-4891-bc74-a245c7e01a86":{"description":"The request was refused on billing grounds (PAYMENT_REQUIRED). Two different gates answer with this status, so the body carries a reason naming which one.\n","content":{"application/json":{"schema":{"type":"object","description":"A 402 body. error is always PAYMENT_REQUIRED; reason says which gate refused, because the two are acted on differently and a status alone cannot tell them apart.\n","required":["error","reason"],"properties":{"error":{"type":"string","description":"Machine-readable error code. Always PAYMENT_REQUIRED.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"reason":{"type":"string","description":"no_credit_balance: the workspace has neither an active subscription nor a positive credit balance, so subscribing or topping up clears it. spend_blocked: the spend gate refused this workspace -- a manual block or an exhausted workspace/project/user spend cap -- which topping up alone may not clear. capacity_limit: a compute move would exceed the workspace deployment or worker limit.\n","enum":["no_credit_balance","spend_blocked","capacity_limit"],"isRequired":true,"uniqueKey":"reason","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable detail.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","reason":"no_credit_balance","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"02834a3a-b857-494b-b462-9560fa24a812":{"description":"Caller's workspace does not own the resource (FORBIDDEN), or an API key was refused because its user may not use it, its workspace was deleted or blocked, or its account is on the free tier or is being deleted. The message says which.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ecc10106-1924-421c-a626-ef81ef2b8f7c":{"description":"Unknown id, or not in the caller's workspace (NOT_FOUND). An API key also gets this when its workspace no longer exists or its user is no longer a member.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ea52de61-bfb3-48ca-ae23-99ab05f08ca1":{"description":"The resource's current state forbids this request. The body's error names which state: CONFLICT, MODEL_STORAGE_EXCEEDED when the release's models need more storage than the deployment can be given, RELEASE_DELETED when the release the request names has been deleted, STALE_REVISION when another change moved the deployment past the revision an update was asked against, PENDING_UPDATE_EXISTS while another update waits, NO_EARLIER_REVISION when a deployment at revision 1 is rolled back, CURRENT_RELEASE when a request to stop or delete one kept release names the release the deployment serves, or one of the models route's codes (MODEL_POLICY, MODEL_NAME_TAKEN, DEPLOYMENT_BUSY, MODEL_LIST_TOO_LARGE, VOLUME_SHARED).\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b7ad7c50-8dd5-4dd9-9b2e-c520dba63e48":{"description":"Workspace concurrency cap reached (CONCURRENCY_LIMIT)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e26db2c2-5981-4d62-8151-fe9affa56c63":{"description":"The request could not be served now (SERVICE_UNAVAILABLE), and the same request may succeed if retried. Either a workspace API key could not be verified, because the key check gave no answer, or because the service was already checking as many keys as it will at once, overall or from the caller's address, which carries Retry-After; or the request ran past the service's request deadline, 30 seconds by default and 120 for a model add, and was cut off; or a model add could not read another deployment's storage to check which disk it mounts. The body's message says which.\n","headers":{"Retry-After":{"description":"Seconds to wait before retrying; sent when the service refused the key check because too many were in flight.\n","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"75c50e62-6bd5-472f-86b8-3d55ad9d681d":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A workspace-scoped Cloud JWT.","scopes":[],"schemeName":"BearerAuth"}},"a70e6c66-a389-46bd-8980-d25e200bac2d":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"A workspace API key, sent alone. The service checks it on every request and acts as the key's user in the key's workspace. A request carrying a key and a Bearer token is 400, and a value that is not a key's shape is 401. A refused key answers 401, 403 or 404 with its message; a 503 means the key could not be checked right now, so retry.\n","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"a6b13867-91c4-4d9b-984b-59f868c5bf27":{"url":"https://platformapi.comfy.org/deploy","description":"Comfy Developer Platform"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A workspace-scoped Cloud JWT.","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A workspace-scoped Cloud JWT.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"A workspace API key, sent alone. The service checks it on every request and acts as the key's user in the key's workspace. A request carrying a key and a Bearer token is 400, and a value that is not a key's shape is 401. A refused key answers 401, 403 or 404 with its message; a 503 means the key could not be checked right now, so retry.\n","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"A workspace API key, sent alone. The service checks it on every request and acts as the key's user in the key's workspace. A request carrying a key and a Bearer token is 400, and a value that is not a key's shape is 401. A refused key answers 401, 403 or 404 with its message; a 503 means the key could not be checked right now, so retry.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi-deploy.yaml"},"subdomain":"dripart","siteName":"ComfyUI","title":"Roll a deployment back to an earlier revision's release - ComfyUI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","matchLevel":0},"zh":{"href":"/zh/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","matchLevel":1},"ja":{"href":"/ja/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","matchLevel":1},"ko":{"href":"/ko/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","matchLevel":1},"es":{"href":"/es/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release","matchLevel":1}}},"lastModified":"2026-11-30T21:05:30.889Z","originalFileLocation":"api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ComfyUI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Roll a deployment back to an earlier revision\u0026#x27;s release - ComfyUI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ComfyUI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dripart.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Roll+a+deployment+back+to+an+earlier+revision%27s+release\u0026amp;description=Moves+the+deployment+back+to+the+release+an+earlier+revision+ran%2C+the+revision+before+the+current+one+unless+toRevision+names+another%2C+so+a+second+rollback+undo\u0026amp;theme=b252c39adf72ba65053766a0\u0026amp;signature=46872e71afb9d237c91c5f8b5f0458dae6d27e4efa68fa617209c1d0b5620088\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Roll a deployment back to an earlier revision\u0026#x27;s release - ComfyUI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dripart.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Roll+a+deployment+back+to+an+earlier+revision%27s+release\u0026amp;description=Moves+the+deployment+back+to+the+release+an+earlier+revision+ran%2C+the+revision+before+the+current+one+unless+toRevision+names+another%2C+so+a+second+rollback+undo\u0026amp;theme=b252c39adf72ba65053766a0\u0026amp;signature=46872e71afb9d237c91c5f8b5f0458dae6d27e4efa68fa617209c1d0b5620088\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ComfyUI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#49378B\">\u003cmeta data-mint-head name=\"googlebot\" content=\"max-video-preview:0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.comfy.org/zh/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.comfy.org/ja/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.comfy.org/ko/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.comfy.org/es/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.comfy.org/#organization\",\"name\":\"ComfyUI\",\"url\":\"https://docs.comfy.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dripart/WCFdTagRdhtvk9-o/logo/light.svg?fit=max\u0026auto=format\u0026n=WCFdTagRdhtvk9-o\u0026q=85\u0026s=ec112de87239058f5a931a7e4b594965\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.comfy.org#website\",\"name\":\"ComfyUI\",\"url\":\"https://docs.comfy.org\",\"publisher\":{\"@id\":\"https://docs.comfy.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release#webpage\",\"url\":\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\",\"name\":\"Roll a deployment back to an earlier revision's release\",\"description\":\"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\",\"dateModified\":\"2026-11-30T21:05:30.889Z\",\"isPartOf\":{\"@id\":\"https://docs.comfy.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Deploying ComfyUI\",\"item\":\"https://docs.comfy.org/development/deploy/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Comfy Cloud\",\"item\":\"https://docs.comfy.org/development/deploy/cloud\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Serverless API Reference\",\"item\":\"https://docs.comfy.org/api-reference/builder/list-the-model-directories-a-model-may-be-placed-in\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Deployments\",\"item\":\"https://docs.comfy.org/api-reference/deploy/list-the-callers-deployments\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"API Reference\",\"item\":\"https://docs.comfy.org/api-reference/deploy/list-the-callers-deployments\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"Roll a deployment back to an earlier revision's release\",\"item\":\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release#apireference\",\"headline\":\"Roll a deployment back to an earlier revision's release\",\"name\":\"Roll a deployment back to an earlier revision's release\",\"description\":\"Moves the deployment back to the release an earlier revision ran, the revision before the current one unless toRevision names another, so a second rollback undoes the first. The deployment keeps its id and address, and the new revision records kind rollback and the revision it restored in fromRevision. baseRevision is the revision the caller last read: once another change has moved the deployment past it the answer is a 409 STALE_REVISION, and while an update waits it is a 409 PENDING_UPDATE_EXISTS. A stored next-start compute request returns 409 COMPUTE_INTENT_EXISTS; finish it or edit back to the serving placement. A ready source with a failed compute target can roll back, canceling that failed request. A deployment at revision 1 has nothing to return to, a 409 NO_EARLIER_REVISION; a toRevision that is not an earlier revision is a 400; and a target whose release was deleted is a 409 RELEASE_DELETED. A target whose release is already current answers 200 at the current revision with nothing written. A ready copy of the release becomes current at once, a 200. A stopped or failed copy starts again, and a release whose copy is gone gets a new one, under the same credit and plan checks an update takes (402, 429); the 202 carries the pendingUpdate, of kind rollback, and the deployment moves once that copy is ready. A rollback sent again at the same base answers as the first did.\",\"url\":\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release\",\"mainEntityOfPage\":{\"@id\":\"https://docs.comfy.org/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release#webpage\"},\"dateModified\":\"2026-11-30T21:05:30.889Z\",\"publisher\":{\"@id\":\"https://docs.comfy.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.comfy.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ComfyUI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ComfyUI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release.md","siteName":"ComfyUI","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Getting started","pages":[{"title":"Getting started","href":""}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/basic-concepts/workflow"}]},{"tab":"Comfy Router","pages":[{"title":"Comfy Router","href":"/development/comfy-router/quickstart"}]},{"tab":"Agent tools","pages":[{"title":"Agent tools","href":"/agent-tools"}]},{"tab":"Built-in Nodes","pages":[{"title":"Built-in Nodes","href":"/built-in-nodes/overview"}]},{"tab":"Developer","pages":[{"group":"Develop with Comfy","pages":[{"title":"ComfyUI for Developers: SDKs, Server API, and Cloud","sidebarTitle":"Developer overview","href":"/development/overview"},{"title":"Getting an API Key","sidebarTitle":"API keys","icon":"key","href":"/development/api-development/getting-an-api-key"},{"title":"Comfy API Examples: Router Calls, Deployments, and Apps","sidebarTitle":"Examples","icon":"code","mode":"wide","href":"/development/examples"}]},{"group":"Deploying ComfyUI","pages":[{"title":"Deploying ComfyUI","sidebarTitle":"Overview","icon":"map","href":"/development/deploy/overview"},{"group":"Comfy Cloud","root":{"title":"Deploy on Comfy Cloud","sidebarTitle":"Deploy on Comfy Cloud","icon":"cloud","href":"/development/deploy/cloud"},"pages":[{"title":"Deploy on Comfy Cloud","sidebarTitle":"Deploy on Comfy Cloud","icon":"cloud","href":"/development/deploy/cloud"},{"title":"Adding Custom Builds to Comfy Cloud","sidebarTitle":"Custom Builds","icon":"puzzle-piece","href":"/development/deploy/cloud-custom-builds"},{"title":"Manage Comfy Cloud Deployments and Build Versions","sidebarTitle":"Manage Deployments","icon":"cloud-arrow-up","href":"/development/serverless/overview"},{"group":"Serverless API Reference","pages":[{"group":"Builds and uploads","pages":[{"group":"API Reference","pages":[{"title":"List the model directories a model may be placed in","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/model-directories","href":"/api-reference/builder/list-the-model-directories-a-model-may-be-placed-in"},{"title":"Find download sources for model filenames","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/models/resolve","href":"/api-reference/builder/find-download-sources-for-model-filenames"},{"title":"Read a ComfyUI Desktop snapshot as a build definition","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/snapshots/resolve","href":"/api-reference/builder/read-a-comfyui-desktop-snapshot-as-a-build-definition"},{"title":"Store a local ComfyUI installation for the Create a Build wizard","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/import-bundles","href":"/api-reference/builder/store-a-local-comfyui-installation-for-the-create-a-build-wizard"},{"title":"Open a stored import bundle","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/import-bundles/{id}","href":"/api-reference/builder/open-a-stored-import-bundle"},{"title":"List the curated base images a build may build on","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/base-images","href":"/api-reference/builder/list-the-curated-base-images-a-build-may-build-on"},{"title":"List the build targets a release can be cut for","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/build-targets","href":"/api-reference/builder/list-the-build-targets-a-release-can-be-cut-for"},{"title":"The build ceilings this workspace is held to","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/limits","href":"/api-reference/builder/the-build-ceilings-this-workspace-is-held-to"},{"title":"List the workspace's builds","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/builds","href":"/api-reference/builder/list-the-workspaces-builds"},{"title":"Create a build","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/builds","href":"/api-reference/builder/create-a-build"},{"title":"Create a build from a ComfyUI Desktop snapshot","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/builds/from-snapshot","href":"/api-reference/builder/create-a-build-from-a-comfyui-desktop-snapshot"},{"title":"Read a ComfyUI workflow as a build definition","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/workflows/resolve","href":"/api-reference/builder/read-a-comfyui-workflow-as-a-build-definition"},{"title":"Check that a definition installs every node a workflow uses","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/workflows/validate","href":"/api-reference/builder/check-that-a-definition-installs-every-node-a-workflow-uses"},{"title":"Create a build from a ComfyUI workflow","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/builds/from-workflow","href":"/api-reference/builder/create-a-build-from-a-comfyui-workflow"},{"title":"Get a build with its full definition","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/builds/{id}","href":"/api-reference/builder/get-a-build-with-its-full-definition"},{"title":"Delete a build","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml delete /v1/builds/{id}","href":"/api-reference/builder/delete-a-build"},{"title":"Edit a build's definition","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml patch /v1/builds/{id}","href":"/api-reference/builder/edit-a-builds-definition"},{"title":"Dry-run resolve a definition","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/builds/{id}/validate","href":"/api-reference/builder/dry-run-resolve-a-definition"},{"title":"List a build's releases","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/builds/{id}/releases","href":"/api-reference/builder/list-a-builds-releases"},{"title":"Cut and build a release","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/builds/{id}/releases","href":"/api-reference/builder/cut-and-build-a-release"},{"title":"Name releases by their build and version","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/release-labels","href":"/api-reference/builder/name-releases-by-their-build-and-version"},{"title":"Check a release's status","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/releases/{id}","href":"/api-reference/builder/check-a-releases-status"},{"title":"Delete a release","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml delete /v1/releases/{id}","href":"/api-reference/builder/delete-a-release"},{"title":"List a release's models, custom nodes, pip dependencies, ComfyUI commit and runtime policies","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/releases/{id}/manifest","href":"/api-reference/builder/list-a-releases-models-custom-nodes-pip-dependencies-comfyui-commit-and-runtime-policies"},{"title":"Read a release's full build log","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/releases/{id}/logs","href":"/api-reference/builder/read-a-releases-full-build-log"},{"title":"Read a release's node catalog (object_info) for one built target","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/releases/{id}/catalog","href":"/api-reference/builder/read-a-releases-node-catalog-object_info-for-one-built-target"},{"title":"Read a release's custom-node frontend files for one built target","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/releases/{id}/extensions","href":"/api-reference/builder/read-a-releases-custom-node-frontend-files-for-one-built-target"},{"title":"Read the HTTP routes a release's custom node packs register, for one built target","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/releases/{id}/routes","href":"/api-reference/builder/read-the-http-routes-a-releases-custom-node-packs-register-for-one-built-target"},{"title":"Read the custom node packs a release built without, for one built target","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/releases/{id}/unsupported-packs","href":"/api-reference/builder/read-the-custom-node-packs-a-release-built-without-for-one-built-target"},{"title":"Build an additional target for a cut release","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/releases/{id}/artifacts","href":"/api-reference/builder/build-an-additional-target-for-a-cut-release"},{"title":"Get a signed download link for a build artifact","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/build-artifacts/{id}/download","href":"/api-reference/builder/get-a-signed-download-link-for-a-build-artifact"},{"title":"List the workspace's private content","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml get /v1/blobs","href":"/api-reference/builder/list-the-workspaces-private-content"},{"title":"Get a scoped upload URL for private content","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/blobs","href":"/api-reference/builder/get-a-scoped-upload-url-for-private-content"},{"title":"Delete a private upload","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml delete /v1/blobs/{id}","href":"/api-reference/builder/delete-a-private-upload"},{"title":"Get fresh links for the pieces of an upload not landed yet","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/blobs/{id}/parts","href":"/api-reference/builder/get-fresh-links-for-the-pieces-of-an-upload-not-landed-yet"},{"title":"Join an upload's pieces into its one object","deprecated":null,"version":null,"openapi":"/openapi-builder.yaml post /v1/blobs/{id}/complete","href":"/api-reference/builder/join-an-uploads-pieces-into-its-one-object"}]}]},{"group":"Deployments","pages":[{"group":"API Reference","pages":[{"title":"List the caller's deployments","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deployments","href":"/api-reference/deploy/list-the-callers-deployments"},{"title":"Create a deployment","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml post /v1/deployments","href":"/api-reference/deploy/create-a-deployment"},{"title":"Get a deployment's status","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deployments/{id}","href":"/api-reference/deploy/get-a-deployments-status"},{"title":"Delete a deployment","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml delete /v1/deployments/{id}","href":"/api-reference/deploy/delete-a-deployment"},{"title":"Update a deployment's compute config, or move it to another release","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml patch /v1/deployments/{id}","href":"/api-reference/deploy/update-a-deployments-compute-config-or-move-it-to-another-release"},{"title":"Get a deployment's status timeline","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deployments/{id}/events","href":"/api-reference/deploy/get-a-deployments-status-timeline"},{"title":"Get a deployment's revision history","description":"Every revision of one deployment, oldest first: which release was current from each revision on, what made it and who. Revision 1 is the deployment's create, or the backfill for a deployment created before revisions existed. Answers 404 for a deployment outside the caller's workspace.\n","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deployments/{id}/revisions","href":"/api-reference/deploy/get-a-deployments-revision-history"},{"title":"Roll a deployment back to an earlier revision's release","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml post /v1/deployments/{id}/rollback","href":"/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release"},{"title":"Delete a release a deployment keeps","description":"Releases the running copy of one release the deployment keeps from an earlier update, its storage included, while the release the deployment serves keeps serving and the deployment's history keeps every revision. Deleting the release an update waits on ends that update and clears its compute request. A pending target sharing the serving release id takes precedence. After cancellation, retries keep that exact copy until deletion finishes, including retained storage. New copy moves wait for that cancellation; after deletion or cutover that id returns CURRENT_RELEASE. Other retained releases answer 202 until their copy is gone, then 404. Answers 409 CURRENT_RELEASE for the release the deployment serves, which goes only with the deployment. Async.\n","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml delete /v1/deployments/{id}/releases/{releaseId}","href":"/api-reference/deploy/delete-a-release-a-deployment-keeps"},{"title":"Stop a release a deployment keeps","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml patch /v1/deployments/{id}/releases/{releaseId}","href":"/api-reference/deploy/stop-a-release-a-deployment-keeps"},{"title":"List the model files added to a deployment","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deployments/{id}/models","href":"/api-reference/deploy/list-the-model-files-added-to-a-deployment"},{"title":"Add a model file to a deployment","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml post /v1/deployments/{id}/models","href":"/api-reference/deploy/add-a-model-file-to-a-deployment"},{"title":"Remove a model file added to a deployment","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml delete /v1/deployments/{id}/models/{modelId}","href":"/api-reference/deploy/remove-a-model-file-added-to-a-deployment"},{"title":"Get a deployment's captured ComfyUI log","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deployments/{id}/logs","href":"/api-reference/deploy/get-a-deployments-captured-comfyui-log"},{"title":"Read whether a deployment serves, and its last worker sample","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deployments/{id}/status","href":"/api-reference/deploy/read-whether-a-deployment-serves-and-its-last-worker-sample"},{"title":"Read a deployment's named metrics over a window","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deployments/{id}/metrics","href":"/api-reference/deploy/read-a-deployments-named-metrics-over-a-window"},{"title":"Start a stopped deployment","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml post /v1/deployments/{id}/start","href":"/api-reference/deploy/start-a-stopped-deployment"},{"title":"The deploy ceilings this workspace is held to","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/limits","href":"/api-reference/deploy/the-deploy-ceilings-this-workspace-is-held-to"},{"title":"How long a deployment of a release would take to come up","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/deploy-estimate","href":"/api-reference/deploy/how-long-a-deployment-of-a-release-would-take-to-come-up"},{"title":"Locations a deployment can run in, the GPUs sold there, and storage pricing","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/compute-catalog","href":"/api-reference/deploy/locations-a-deployment-can-run-in-the-gpus-sold-there-and-storage-pricing"},{"title":"Public GPU and storage list prices","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/rate-card","href":"/api-reference/deploy/public-gpu-and-storage-list-prices"},{"title":"Serverless spend, grouped and bucketed","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml get /v1/usage/serverless","href":"/api-reference/deploy/serverless-spend-grouped-and-bucketed"},{"title":"Stop a deployment","deprecated":null,"version":null,"openapi":"/openapi-deploy.yaml post /v1/deployments/{id}/stop","href":"/api-reference/deploy/stop-a-deployment"}]}]}]},{"title":"Usage and Limits","sidebarTitle":"Usage and Limits","icon":"gauge","href":"/development/deploy/cloud-usage"}]},{"group":"Self-Hosting","root":{"title":"Self-Hosting ComfyUI: Bare Metal, GPU Cloud, and Docker","sidebarTitle":"Hosting options","icon":"server","href":"/development/deploy/self-hosting"},"pages":[{"title":"Self-Hosting ComfyUI: Bare Metal, GPU Cloud, and Docker","sidebarTitle":"Hosting options","icon":"server","href":"/development/deploy/self-hosting"},{"group":"Server API","pages":[{"title":"ComfyUI Server Overview: REST and WebSocket APIs","sidebarTitle":"Server overview","href":"/development/comfyui-server/comms_overview"},{"title":"ComfyUI Server API Examples: HTTP, WebSocket, History","sidebarTitle":"API examples","href":"/development/comfyui-server/api-examples"},{"title":"ComfyUI Server Routes (HTTP and WebSocket API)","sidebarTitle":"HTTP \u0026 WebSocket routes","icon":"route","href":"/development/comfyui-server/comms_routes"},{"title":"ComfyUI Server Messages (WebSocket API)","sidebarTitle":"WebSocket messages","icon":"comment","href":"/development/comfyui-server/comms_messages"},{"title":"ComfyUI Startup Flags: Command-Line Reference","sidebarTitle":"Startup Flags","icon":"terminal","href":"/development/comfyui-server/startup-flags"},{"title":"ComfyUI Account API Key Integration","sidebarTitle":"API Key Integration","icon":"puzzle-piece","href":"/development/comfyui-server/api-key-integration"}]}]},{"group":"Run Workflows","pages":[{"title":"Running ComfyUI Workflows: SDKs and Server APIs","sidebarTitle":"Overview","icon":"play","href":"/development/run-workflows/overview"},{"title":"Run your first workflow","sidebarTitle":"First workflow","href":"/development/api-development/quickstart"},{"title":"Comfy SDKs: Python and TypeScript Clients for ComfyUI","sidebarTitle":"SDKs","icon":"code","href":"/development/api-development/sdks"},{"title":"API Proxy for Self-Hosted ComfyUI","sidebarTitle":"API Proxy","icon":"plug","href":"/development/comfyui-server/api-proxy"},{"title":"ComfyUI Workflow API Format: Export JSON for API Submission","sidebarTitle":"Workflow API Format","icon":"file-code","href":"/development/api-development/workflow-api-format"},{"title":"ComfyUI Workflow Metadata in Output Files","sidebarTitle":"Workflow Metadata","icon":"file-code","href":"/development/api-development/workflow-metadata"},{"group":"Comfy API Reference","boost":10,"pages":[{"title":"Comfy API Versions: v2 and the Deprecated v1 Cloud API","sidebarTitle":"Overview","href":"/development/comfy-api/overview"},{"group":"v2","pages":[{"title":"Comfy API v2 Overview","sidebarTitle":"Overview","href":"/api-reference/v2/overview"},{"title":"Comfy API v2 Design Notes: Versioning and Jobs","sidebarTitle":"Design Notes","icon":"compass","href":"/development/api-development/sdks-design"},{"group":"API Reference","pages":[{"group":"assets","pages":[{"title":"Upload an asset (single-call multipart)","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml post /api/v2/assets","href":"/api-reference/v2/assets/upload-an-asset-single-call-multipart"},{"title":"Create or reuse an asset over existing bytes","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml post /api/v2/assets/from-hash","href":"/api-reference/v2/assets/create-or-reuse-an-asset-over-existing-bytes"},{"title":"Existence check for a blob by blake3 hash","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml head /api/v2/assets/by-hash/{hash}","href":"/api-reference/v2/assets/existence-check-for-a-blob-by-blake3-hash"},{"title":"Asset metadata","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/assets/{id}","href":"/api-reference/v2/assets/asset-metadata"},{"title":"Delete an asset record","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml delete /api/v2/assets/{id}","href":"/api-reference/v2/assets/delete-an-asset-record"},{"title":"Asset bytes","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/assets/{id}/content","href":"/api-reference/v2/assets/asset-bytes"}]},{"group":"jobs","pages":[{"title":"List jobs, newest first","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs","href":"/api-reference/v2/jobs/list-jobs-newest-first"},{"title":"Submit a workflow for execution","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml post /api/v2/jobs","href":"/api-reference/v2/jobs/submit-a-workflow-for-execution"},{"title":"Job status (the polling workhorse)","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs/{id}","href":"/api-reference/v2/jobs/job-status-the-polling-workhorse"},{"title":"The workflow behind a job — authoring version if pinned, executed graph otherwise","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs/{id}/workflow","href":"/api-reference/v2/jobs/the-workflow-behind-a-job-—-authoring-version-if-pinned-executed-graph-otherwise"},{"title":"What the run printed","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs/{id}/logs","href":"/api-reference/v2/jobs/what-the-run-printed"},{"title":"Live event stream (SSE)","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs/{id}/events","href":"/api-reference/v2/jobs/live-event-stream-sse"},{"title":"Request cancellation","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml post /api/v2/jobs/{id}/cancel","href":"/api-reference/v2/jobs/request-cancellation"}]}]}]},{"group":"v1 Cloud API (deprecated)","pages":[{"title":"v1 Cloud API Overview","sidebarTitle":"Overview","href":"/development/cloud/overview"},{"title":"Cloud API Reference","sidebarTitle":"Code Examples","icon":"book-open","href":"/development/cloud/api-reference"},{"title":"OpenAPI Specification","icon":"file-lines","openapi":"/openapi-cloud.yaml","href":"/development/cloud/openapi"},{"group":"Cloud API Reference","pages":[{"group":"workflow","pages":[{"title":"Get information about current prompt executions","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/prompt","href":"/api-reference/cloud/workflow/get-information-about-current-prompt-executions"},{"title":"Submit a workflow for execution","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/prompt","href":"/api-reference/cloud/workflow/submit-a-workflow-for-execution"},{"title":"Get available workflow templates","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/workflow_templates","href":"/api-reference/cloud/workflow/get-available-workflow-templates"},{"title":"Get available subgraph blueprints","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/global_subgraphs","href":"/api-reference/cloud/workflow/get-available-subgraph-blueprints"},{"title":"Get a specific subgraph blueprint","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/global_subgraphs/{id}","href":"/api-reference/cloud/workflow/get-a-specific-subgraph-blueprint"}]},{"group":"node","pages":[{"title":"Get all node information","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/object_info","href":"/api-reference/cloud/node/get-all-node-information"},{"title":"Get server feature flags","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/features","href":"/api-reference/cloud/node/get-server-feature-flags"}]},{"group":"model","pages":[{"title":"Get available model folders","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/experiment/models","href":"/api-reference/cloud/model/get-available-model-folders"},{"title":"Get models in a specific folder","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/experiment/models/{folder}","href":"/api-reference/cloud/model/get-models-in-a-specific-folder"},{"title":"Get model preview image","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/experiment/models/preview/{folder}/{path_index}/{filename}","href":"/api-reference/cloud/model/get-model-preview-image"}]},{"group":"job","pages":[{"title":"Manage execution history","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/history","href":"/api-reference/cloud/job/manage-execution-history"},{"title":"Get execution history (v2)","deprecated":true,"version":null,"openapi":"/openapi-cloud.yaml get /api/history_v2","href":"/api-reference/cloud/job/get-execution-history-v2"},{"title":"Get history for specific prompt","deprecated":true,"version":null,"openapi":"/openapi-cloud.yaml get /api/history_v2/{prompt_id}","href":"/api-reference/cloud/job/get-history-for-specific-prompt"},{"title":"List jobs with pagination and filtering","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/jobs","href":"/api-reference/cloud/job/list-jobs-with-pagination-and-filtering"},{"title":"Get full job details","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/jobs/{job_id}","href":"/api-reference/cloud/job/get-full-job-details"},{"title":"Get queue information","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/queue","href":"/api-reference/cloud/job/get-queue-information"},{"title":"Manage queue operations","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/queue","href":"/api-reference/cloud/job/manage-queue-operations"},{"title":"Interrupt currently running jobs","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/interrupt","href":"/api-reference/cloud/job/interrupt-currently-running-jobs"},{"title":"Get job status","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/job/{job_id}/status","href":"/api-reference/cloud/job/get-job-status"}]},{"group":"file","pages":[{"title":"View a file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/view","href":"/api-reference/cloud/file/view-a-file"},{"title":"Get related mask layer files","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/files/mask-layers","href":"/api-reference/cloud/file/get-related-mask-layer-files"},{"title":"Upload an image file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/upload/image","href":"/api-reference/cloud/file/upload-an-image-file"},{"title":"Upload a mask image","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/upload/mask","href":"/api-reference/cloud/file/upload-a-mask-image"}]},{"group":"asset","pages":[{"title":"List user assets","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/assets","href":"/api-reference/cloud/asset/list-user-assets"},{"title":"Upload a new asset","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/assets","href":"/api-reference/cloud/asset/upload-a-new-asset"},{"title":"Create asset reference from existing hash","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/assets/from-hash","href":"/api-reference/cloud/asset/create-asset-reference-from-existing-hash"},{"title":"Get asset metadata from remote URL","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/assets/remote-metadata","href":"/api-reference/cloud/asset/get-asset-metadata-from-remote-url"},{"title":"Initiate background download for large files","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/assets/download","href":"/api-reference/cloud/asset/initiate-background-download-for-large-files"},{"title":"Get asset details","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/assets/{id}","href":"/api-reference/cloud/asset/get-asset-details"},{"title":"Update asset metadata","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml put /api/assets/{id}","href":"/api-reference/cloud/asset/update-asset-metadata"},{"title":"Delete asset","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml delete /api/assets/{id}","href":"/api-reference/cloud/asset/delete-asset"},{"title":"Add tags to asset","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/assets/{id}/tags","href":"/api-reference/cloud/asset/add-tags-to-asset"},{"title":"Remove tags from asset","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml delete /api/assets/{id}/tags","href":"/api-reference/cloud/asset/remove-tags-from-asset"},{"title":"List all tags","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/tags","href":"/api-reference/cloud/asset/list-all-tags"},{"title":"Get tag histogram for filtered assets","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/assets/tags/refine","href":"/api-reference/cloud/asset/get-tag-histogram-for-filtered-assets"},{"title":"Check if asset exists by hash","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml head /api/assets/hash/{hash}","href":"/api-reference/cloud/asset/check-if-asset-exists-by-hash"}]},{"group":"user","pages":[{"title":"List user data files","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/userdata","href":"/api-reference/cloud/user/list-user-data-files"},{"title":"Get user data file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/userdata/{file}","href":"/api-reference/cloud/user/get-user-data-file"},{"title":"Upload or update a user data file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/userdata/{file}","href":"/api-reference/cloud/user/upload-or-update-a-user-data-file"},{"title":"Delete a user data file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml delete /api/userdata/{file}","href":"/api-reference/cloud/user/delete-a-user-data-file"},{"title":"Get current user information","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/user","href":"/api-reference/cloud/user/get-current-user-information"}]},{"group":"system","pages":[{"title":"Get system statistics","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/system_stats","href":"/api-reference/cloud/system/get-system-statistics"}]},{"group":"billing","pages":[{"title":"Get workspace usage over time","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/billing/usage/timeseries","href":"/api-reference/cloud/billing/get-workspace-usage-over-time"}]}]}]}]}]}]},{"group":"Comfy CLI","pages":[{"title":"Get Started with Comfy CLI","sidebarTitle":"Get started","href":"/comfy-cli/getting-started"},{"title":"Comfy CLI Command Reference","sidebarTitle":"Command reference","href":"/comfy-cli/reference"},{"title":"Comfy CLI Troubleshooting: Setup and Install Fixes","sidebarTitle":"Troubleshooting","href":"/comfy-cli/troubleshooting"}]},{"group":"Specifications","pages":[{"group":"Workflow JSON","pages":[{"title":"Workflow JSON","href":"/specs/workflow_json"},{"title":"Workflow JSON 0.4","href":"/specs/workflow_json_0.4"}]},{"group":"Node Definitions","pages":[{"title":"Node Definition JSON","href":"/specs/nodedef_json"},{"title":"Node Definition JSON 1.0","href":"/specs/nodedef_json_1_0"}]}]},{"group":"Custom Nodes","pages":[{"title":"ComfyUI Custom Node Development: Build, Extend, and Publish","sidebarTitle":"Overview","href":"/custom-nodes/intro"},{"group":"Build Custom Nodes","pages":[{"title":"ComfyUI Custom Node Types and Architecture","sidebarTitle":"Node types","href":"/custom-nodes/overview"},{"title":"Creating Custom Nodes in ComfyUI","sidebarTitle":"Create your first node","href":"/custom-nodes/walkthrough"},{"group":"Python (Backend)","pages":[{"title":"Custom Node Properties","sidebarTitle":"Node properties","href":"/custom-nodes/backend/server_overview"},{"title":"ComfyUI Custom Node Lifecycle","sidebarTitle":"Node lifecycle","href":"/custom-nodes/backend/lifecycle"},{"title":"ComfyUI Custom Node Datatypes","sidebarTitle":"Data types","href":"/custom-nodes/backend/datatypes"},{"title":"Images, Latents, and Masks","sidebarTitle":"Images, latents, masks","href":"/custom-nodes/backend/images_and_masks"},{"title":"Hidden and Flexible inputs","sidebarTitle":"Hidden \u0026 flexible inputs","href":"/custom-nodes/backend/more_on_inputs"},{"title":"ComfyUI Lazy Evaluation for Custom Nodes","sidebarTitle":"Lazy Evaluation","href":"/custom-nodes/backend/lazy_evaluation"},{"title":"ComfyUI Node Expansion: Return Subgraphs From a Node","sidebarTitle":"Node Expansion","href":"/custom-nodes/backend/expansion"},{"title":"ComfyUI Data Lists and List Processing","sidebarTitle":"Lists \u0026 list processing","href":"/custom-nodes/backend/lists"},{"title":"torch.Tensor in ComfyUI: Shapes and Operations","sidebarTitle":"Tensors","href":"/custom-nodes/backend/tensors"},{"title":"ComfyUI Custom Node Python Snippets","sidebarTitle":"Python snippets","href":"/custom-nodes/backend/snippets"},{"title":"Execution Model Inversion Guide","sidebarTitle":"Execution model","icon":"code-branch","href":"/development/comfyui-server/execution_model_inversion_guide"}]},{"group":"JavaScript (UI)","pages":[{"title":"Javascript Extensions","sidebarTitle":"JavaScript extensions","href":"/custom-nodes/js/javascript_overview"},{"title":"ComfyUI JavaScript Hooks","sidebarTitle":"Hooks","href":"/custom-nodes/js/javascript_hooks"},{"title":"ComfyUI Frontend Objects: LiteGraph, ComfyApp, and ComfyNode","sidebarTitle":"Comfy objects","href":"/custom-nodes/js/javascript_objects_and_hijacking"},{"title":"ComfyUI Extension Settings API","sidebarTitle":"Settings API","href":"/custom-nodes/js/javascript_settings"},{"title":"ComfyUI Dialog API","sidebarTitle":"Dialog API","href":"/custom-nodes/js/javascript_dialog"},{"title":"ComfyUI Toast API","sidebarTitle":"Toast API","href":"/custom-nodes/js/javascript_toast"},{"title":"ComfyUI About Panel Badges API","sidebarTitle":"About panel badges","href":"/custom-nodes/js/javascript_about_panel_badges"},{"title":"ComfyUI Bottom Panel Tabs API","sidebarTitle":"Bottom panel tabs","href":"/custom-nodes/js/javascript_bottom_panel_tabs"},{"title":"ComfyUI Sidebar Tabs API","sidebarTitle":"Sidebar tabs","href":"/custom-nodes/js/javascript_sidebar_tabs"},{"title":"ComfyUI Selection Toolbox API","sidebarTitle":"Selection Toolbox","href":"/custom-nodes/js/javascript_selection_toolbox"},{"title":"ComfyUI Commands and Keybindings API","sidebarTitle":"Commands and keybindings","href":"/custom-nodes/js/javascript_commands_keybindings"},{"title":"ComfyUI Topbar Menu API","sidebarTitle":"Topbar menu API","href":"/custom-nodes/js/javascript_topbar_menu"},{"title":"ComfyUI Subgraphs","sidebarTitle":"Subgraphs","href":"/custom-nodes/js/subgraphs"},{"title":"Canvas Pointer API for Widgets and Cursors","sidebarTitle":"Canvas pointer API","href":"/custom-nodes/js/canvas-pointer-api"},{"title":"Custom Node JavaScript Examples: Menus, Events, and Hooks","sidebarTitle":"JavaScript examples","href":"/custom-nodes/js/javascript_examples"}]},{"title":"ComfyUI Custom Node i18n: Localize Node Definitions","sidebarTitle":"i18n Support","href":"/custom-nodes/i18n"},{"group":"Migration Guides","pages":[{"title":"ComfyUI Custom Node V3 Migration: V1 to V3 Schema","sidebarTitle":"V3 Migration","href":"/custom-nodes/v3_migration"},{"title":"ComfyUI Context Menu API Migration: Canvas and Node Menus","sidebarTitle":"Context menu migration","href":"/custom-nodes/js/context-menu-migration"},{"title":"Node ID Migration for Frontend Extensions","sidebarTitle":"Node ID migration","href":"/custom-nodes/js/node-id-migration"},{"title":"Link Registration Migration for Frontend Extensions","sidebarTitle":"Link registration","href":"/custom-nodes/js/link-registration-migration"},{"title":"Widget System Migration for Frontend Extensions","sidebarTitle":"Widget system migration","href":"/custom-nodes/js/widgets-migration"},{"title":"Connection Callback Migration for Frontend Extensions","sidebarTitle":"Connection callbacks","href":"/custom-nodes/js/connection-callbacks-migration"},{"title":"Serialization Callback Migration for Frontend Extensions","sidebarTitle":"Serialization callbacks","href":"/custom-nodes/js/serialization-callbacks-migration"},{"title":"Node Geometry Migration for Frontend Extensions","sidebarTitle":"Node geometry migration","href":"/custom-nodes/js/node-geometry-migration"},{"title":"PrimeVue Removal Migration for Frontend Extensions","sidebarTitle":"PrimeVue removal","href":"/custom-nodes/js/primevue-removal-migration"},{"title":"ComfyUI Node Replacement: Migrate Deprecated Nodes","sidebarTitle":"Node Replacement","href":"/custom-nodes/backend/node-replacement"}]}]},{"group":"Package \u0026 Publish","pages":[{"title":"ComfyUI Custom Node Docs: Markdown Help Pages","sidebarTitle":"Node docs","href":"/custom-nodes/help_page"},{"title":"Workflow templates","href":"/custom-nodes/workflow_templates"},{"title":"Subgraph blueprints","href":"/custom-nodes/subgraph_blueprints"},{"title":"Comfy Registry: publish and version custom nodes","sidebarTitle":"Registry Overview","href":"/registry/overview"},{"title":"Publish Custom Nodes to the Comfy Registry","sidebarTitle":"Publishing nodes","href":"/registry/publishing"},{"title":"Publish a Custom Node to ComfyUI Manager","sidebarTitle":"Publish to Manager","href":"/custom-nodes/backend/manager"},{"title":"Claim a Custom Node on the Comfy Registry","sidebarTitle":"Claim a Node","href":"/registry/claim-my-node"},{"title":"Comfy Registry Node Quality and Security Standards","sidebarTitle":"Quality \u0026 security","href":"/registry/standards"},{"title":"Custom Node CI/CD","sidebarTitle":"CI/CD","href":"/registry/cicd"},{"title":"ComfyUI Registry: pyproject.toml Spec for Custom Nodes","sidebarTitle":"pyproject.toml","href":"/registry/specifications"},{"title":"API Overview","href":"/registry/api-reference/overview"},{"group":"Registry API Reference","pages":[{"title":"Get information about the calling user.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /users","href":"/registry/api-reference/registry/get-information-about-the-calling-user"},{"title":"Retrieve all publishers for a given user","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /users/publishers/","href":"/registry/api-reference/registry/retrieve-all-publishers-for-a-given-user"},{"title":"Validate if a publisher username is available","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/validate","href":"/registry/api-reference/registry/validate-if-a-publisher-username-is-available"},{"title":"Create a new publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers","href":"/registry/api-reference/registry/create-a-new-publisher"},{"title":"Retrieve all publishers","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers","href":"/registry/api-reference/registry/retrieve-all-publishers"},{"title":"Retrieve a publisher by ID","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}","href":"/registry/api-reference/registry/retrieve-a-publisher-by-id"},{"title":"Update a publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /publishers/{publisherId}","href":"/registry/api-reference/registry/update-a-publisher"},{"title":"Delete a publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi delete /publishers/{publisherId}","href":"/registry/api-reference/registry/delete-a-publisher"},{"title":"Retrieve permissions the user has for a given publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}/nodes/{nodeId}/permissions","href":"/registry/api-reference/registry/retrieve-permissions-the-user-has-for-a-given-publisher"},{"title":"Create a new personal access token","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers/{publisherId}/tokens","href":"/registry/api-reference/registry/create-a-new-personal-access-token"},{"title":"Delete a specific personal access token","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi delete /publishers/{publisherId}/tokens/{tokenId}","href":"/registry/api-reference/registry/delete-a-specific-personal-access-token"},{"title":"Retrieve all nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}/nodes/v2","href":"/registry/api-reference/registry/retrieve-all-nodes"},{"title":"Retrieve all nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}/nodes/v2","href":"/registry/api-reference/registry/retrieve-all-nodes"},{"title":"Create a new custom node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers/{publisherId}/nodes","href":"/registry/api-reference/registry/create-a-new-custom-node"},{"title":"Update a specific node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /publishers/{publisherId}/nodes/{nodeId}","href":"/registry/api-reference/registry/update-a-specific-node"},{"title":"Delete a specific node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi delete /publishers/{publisherId}/nodes/{nodeId}","href":"/registry/api-reference/registry/delete-a-specific-node"},{"title":"Retrieve permissions the user has for a given publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}/nodes/{nodeId}/permissions","href":"/registry/api-reference/registry/retrieve-permissions-the-user-has-for-a-given-publisher"},{"title":"Claim nodeId into publisherId for the authenticated publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers/{publisherId}/nodes/{nodeId}/claim-my-node","href":"/registry/api-reference/registry/claim-nodeid-into-publisherid-for-the-authenticated-publisher"},{"title":"Publish a new version of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers/{publisherId}/nodes/{nodeId}/versions","href":"/registry/api-reference/registry/publish-a-new-version-of-a-node"},{"title":"Update changelog and deprecation status of a node version","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /publishers/{publisherId}/nodes/{nodeId}/versions/{versionId}","href":"/registry/api-reference/registry/update-changelog-and-deprecation-status-of-a-node-version"},{"title":"Unpublish (delete) a specific version of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi delete /publishers/{publisherId}/nodes/{nodeId}/versions/{versionId}","href":"/registry/api-reference/registry/unpublish-delete-a-specific-version-of-a-node"},{"title":"Retrieves a list of nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/search","href":"/registry/api-reference/registry/retrieves-a-list-of-nodes"},{"title":"Retrieves a list of nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/search","href":"/registry/api-reference/registry/retrieves-a-list-of-nodes"},{"title":"Retrieve a specific node by ID","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}","href":"/registry/api-reference/registry/retrieve-a-specific-node-by-id"},{"title":"Returns a node version to be installed.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/install","href":"/registry/api-reference/registry/returns-a-node-version-to-be-installed"},{"title":"Add review to a specific version of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /nodes/{nodeId}/reviews","href":"/registry/api-reference/registry/add-review-to-a-specific-version-of-a-node"},{"title":"Create Node Translations","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /nodes/{nodeId}/translations","href":"/registry/api-reference/registry/create-node-translations"},{"title":"List all versions of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/versions","href":"/registry/api-reference/registry/list-all-versions-of-a-node"},{"title":"Retrieve a specific version of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/versions/{versionId}","href":"/registry/api-reference/registry/retrieve-a-specific-version-of-a-node"},{"title":"Retrieve multiple node versions in a single request","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /bulk/nodes/versions","href":"/registry/api-reference/registry/retrieve-multiple-node-versions-in-a-single-request"},{"title":"List all node versions given some filters.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /versions","href":"/registry/api-reference/registry/list-all-node-versions-given-some-filters"},{"title":"list all comfy-nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /comfy-nodes","href":"/registry/api-reference/registry/list-all-comfy-nodes"},{"title":"Retrieve a node by ComfyUI node name","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /comfy-nodes/{comfyNodeName}/node","href":"/registry/api-reference/registry/retrieve-a-node-by-comfyui-node-name"},{"title":"create comfy-nodes for certain node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /nodes/{nodeId}/versions/{version}/comfy-nodes","href":"/registry/api-reference/registry/create-comfy-nodes-for-certain-node"},{"title":"list comfy-nodes for node version","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/versions/{version}/comfy-nodes","href":"/registry/api-reference/registry/list-comfy-nodes-for-node-version"},{"title":"get specify comfy-node based on its id","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/versions/{version}/comfy-nodes/{comfyNodeName}","href":"/registry/api-reference/registry/get-specify-comfy-node-based-on-its-id"},{"title":"Update a specific comfy-node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /nodes/{nodeId}/versions/{version}/comfy-nodes/{comfyNodeName}","href":"/registry/api-reference/registry/update-a-specific-comfy-node"},{"title":"Get server feature flags","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /features","href":"/registry/api-reference/registry/get-server-feature-flags"},{"title":"Get release notes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /releases","href":"/registry/api-reference/releases/get-release-notes"}]}]}]}]},{"tab":"Rankings","pages":[{"title":"Rankings","href":"/rankings"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/contact-support"}]}]},{"language":"zh","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"资源","items":[{"label":"安装","href":"/zh/installation/system_requirements"},{"label":"教程","href":"/zh/tutorials/basic/text-to-image"},{"label":"开发","href":"/zh/development/overview"}]},{"header":"产品","items":[{"label":"功能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"画廊","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"下载","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"公司","items":[{"label":"关于","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"招聘","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"服务条款","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"隐私政策","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"pages":[{"title":"zh","href":"/zh/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release"}]},{"language":"ja","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"リソース","items":[{"label":"インストール","href":"/ja/installation/system_requirements"},{"label":"チュートリアル","href":"/ja/tutorials/basic/text-to-image"},{"label":"開発","href":"/ja/development/overview"}]},{"header":"プロダクト","items":[{"label":"機能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"ギャラリー","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"ダウンロード","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"会社情報","items":[{"label":"概要","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"採用情報","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"利用規約","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"プライバシーポリシー","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ja/tutorials/partner-nodes/pricing","label":"料金"},{"href":"https://comfy.org/download?utm_source=docs","label":"ダウンロード"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"pages":[{"title":"ja","href":"/ja/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release"}]},{"language":"ko","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"리소스","items":[{"label":"설치","href":"/ko/installation/system_requirements"},{"label":"튜토리얼","href":"/ko/tutorials/basic/text-to-image"},{"label":"개발","href":"/ko/development/overview"}]},{"header":"제품","items":[{"label":"기능","href":"https://www.comfy.org/?utm_source=docs"},{"label":"갤러리","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"다운로드","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"회사 정보","items":[{"label":"소개","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"채용","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"이용약관","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"개인정보 처리방침","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ko/tutorials/partner-nodes/pricing","label":"가격 정책"},{"href":"https://comfy.org/download?utm_source=docs","label":"다운로드"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"pages":[{"title":"ko","href":"/ko/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/deploy/roll-a-deployment-back-to-an-earlier-revisions-release"}]}]},"basePath":"","title":"Roll a deployment back to an earlier revision's release - ComfyUI","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B564ZPEC.js","snippetPresets-L1o8HcxD.js","utils-CztB6GTn.js","style-to-object-BY3JEAdk.js","utils-CvVTgJWk.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DYi6_847.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DthbVJn_.js","_Uint8Array-G4MDMcnE.js","isObject-FP1Yky1u.js","ApiExamples-BnQo4SxZ.js","usePlaygroundInputsStore-Dsmj0Yg6.js","shallow-Bp_wEvgz.js","isEqual-BwXlkqOR.js","CodeSnippets-D6Fi8DmN.js","CodeSnippet-DANVAYTI.js","use-playground-group-access-DaUWE1Sg.js","Page-Cwg6gQ2F.js","api-description-markdown-DFvICuUq.js","DynamicMarkdown-DHV3eOcf.js","SectionHeading-DLRZDaDn.js","MethodPill-CgqQYk5N.js","getPastedJson-k_txzq3J.js","Check2Icon-CO8ho5Tt.js","axios-CsQoIw0U.js","Markdown-C8ZpmBko.js","AssistantPageLink-AWAGfbYY.js","dist-CAcI43Vk.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}