Workflows
Rollback Workflow
Roll the live deployment back to a previous deployment version. The workflow must currently be deployed. By default the version immediately preceding the currently active one is re-activated; pass version to target a specific deployment version instead. The workflow's draft state is not modified. Requires admin permission on the workflow's workspace. Returns 404 when the workflow does not exist or you do not have access to it.
post/api/v1/workflows/{id}/rollback
Path parameters
idstring required
Example:3b1f7c92-8d4e-4a6b-9c0d-5e2f8a714b36
The unique workflow identifier.
Request body
Example request
{
"version": 3
}Response
Workflow rolled back successfully.
Example response
{
"data": {
"id": "3b1f7c92-8d4e-4a6b-9c0d-5e2f8a714b36",
"isDeployed": true,
"deployedAt": "2026-06-12T10:30:00Z",
"version": 4
},
"limits": {
"workflowExecutionRateLimit": {
"sync": {
"requestsPerMinute": 60,
"maxBurst": 10,
"remaining": 59,
"resetAt": "2025-06-20T14:16:00Z"
},
"async": {
"requestsPerMinute": 60,
"maxBurst": 10,
"remaining": 59,
"resetAt": "2025-06-20T14:16:00Z"
}
},
"usage": {
"currentPeriodCost": 1.25,
"limit": 50,
"plan": "pro"
}
}
}