sim workflows is also spelled sim workflow.
These commands accept the global options.
Workflows
List workflows
Options
API request and response schemas: listWorkflows.
Get workflow
Arguments
API request and response schemas: getWorkflow.
Create workflow
Options
API request and response schemas: createWorkflow.
Update workflow
Arguments
Options
API request and response schemas: updateWorkflow.
Duplicate workflow
Arguments
Options
API request and response schemas: duplicateWorkflow.
Move workflows
Options
API request and response schemas: moveWorkflows.
Move a workflow to a folder
Arguments
API request and response schemas: updateWorkflow.
Delete workflow
This archives the workflow and its run history; restore with workflows restore.
Arguments
Options
API request and response schemas: deleteWorkflow.
Restore an archived workflow
Arguments
API request and response schemas: restoreWorkflow.
Draft state and edits
Get workflow state
Arguments
API request and response schemas: getWorkflowState.
Replace workflow state
OAuth login or personal API key required.
This replaces the entire draft graph and cannot be undone.
Arguments
Options
API request and response schemas: replaceWorkflowState.
Edit a workflow’s blocks, connections and settings with a batch of operations
OAuth login or personal API key required.
This edits the draft graph: the batch adds, edits, or deletes blocks and their edges as written.
Arguments
Options
API request and response schemas: applyWorkflowOperations.
Update workflow variables
This applies the listed variable changes; variables omitted from the operations remain unchanged.
Arguments
Options
API request and response schemas: applyWorkflowVariables.
Deployments and versions
Deploy workflow
OAuth login or personal API key required.
Arguments
Options
API request and response schemas: deployWorkflow.
Show a workflow’s current deployment
Arguments
API request and response schemas: getWorkflowDeployment.
Update workflow public API access
OAuth login or personal API key required.
Arguments
Options
API request and response schemas: updateWorkflowPublicApi.
List workflow versions
Arguments
Options
API request and response schemas: listWorkflowVersions.
Get workflow version
Arguments
API request and response schemas: getWorkflowVersion.
Update workflow version
Arguments
Options
API request and response schemas: updateWorkflowVersion.
Compare workflow versions
Arguments
Options
API request and response schemas: compareWorkflowVersions.
Activate workflow version
OAuth login or personal API key required.
This changes which deployed version runs in production for every API and chat consumer.
Arguments
Options
API request and response schemas: activateWorkflowVersion.
Revert workflow to version
OAuth login or personal API key required.
This overwrites the draft graph with the selected version and cannot be undone.
Arguments
Options
API request and response schemas: revertWorkflowVersion.
Rollback workflow
OAuth login or personal API key required.
This changes which deployed version runs in production for every API and chat consumer.
Arguments
Options
API request and response schemas: rollbackWorkflow.
Take a workflow out of deployment
OAuth login or personal API key required.
This takes the workflow offline for every API and chat consumer, and agents calling its MCP tools lose access until it is deployed again.
Arguments
Options
API request and response schemas: undeployWorkflow.
Run and inspect
Run a deployed workflow or execute saved state manually
Arguments
Options
API request and response schemas: executeWorkflow.
List runs for a workflow
Options
API request and response schemas: listWorkflowRuns.
Show run status
Requested outputs are included in JSON or YAML output.
Arguments
Options
API request and response schemas: getWorkflowRun.
Wait until a run finishes or needs input
Arguments
Options
Exit codes: 0 completed, 1 failed, 2 cancelled, 3 needs input, 4 timed out. Time-based pauses continue waiting; a human pause or an unspecified pause kind ends the wait with code 3. Use sim workflows runs resume with the pause context to continue.
API request and response schemas: getWorkflowRun.
Resume a paused run
Output is included in JSON or YAML output.
Arguments
Options
API request and response schemas: resumeWorkflow.
Cancel a running workflow run
Canceling a paused run prevents resuming that run. Starting a new run can repeat side effects already performed.
Arguments
Options
API request and response schemas: cancelWorkflowRun.
Chat deployments
Show a workflow’s chat deployment
OAuth login or personal API key required.
Arguments
API request and response schemas: getWorkflowChatDeployment.
Deploy or replace a workflow chat
OAuth login or personal API key required.
This replaces visitor access settings for the chat deployment. Omitted authentication fields reset to defaults, including the password and allowed-email list; avatar and welcome-message behavior follows their option descriptions.
Omitting --auth-type selects public access: anyone holding the URL can chat. Supply the complete password or allow-list settings again when replacing a restricted deployment.
Arguments
Options
API request and response schemas: replaceWorkflowChatDeployment.
Take a workflow’s chat deployment offline
OAuth login or personal API key required.
This takes the chat offline and frees its identifier. The workflow itself stays deployed and executable.
Arguments
Options
API request and response schemas: deleteWorkflowChatDeployment.
Export and import
Print a workflow as a portable JSON document
The export clears credentials, passwords, and table sub-block values, but it is not a general secret scanner. Inspect literal variables and inline configuration before sharing the document.
Arguments
Options
API request and response schemas: exportWorkflow.
Preview workflow import
Options
API request and response schemas: previewWorkflowImport.
Import workflow
Options
API request and response schemas: importWorkflow.
Folders
List workflow resources and child folders together
Arguments
Options
API request and response schemas: listWorkflows, listWorkflowFolders.
List workflow folders
Also available as sim workflows folders ls.
Options
API request and response schemas: listWorkflowFolders.
Create a workflow folder at a path
Arguments
API request and response schemas: createWorkflowFolder.
Delete workflow folder
This archives the workflow folder and, when recursive, everything inside it.
Arguments
Options
API request and response schemas: deleteWorkflowFolder.
Rename or move a workflow folder
Also available as sim workflows folders mv.
Arguments
API request and response schemas: relocateWorkflowFolder.
Create a workflow directory at a path
Arguments
API request and response schemas: createWorkflowFolder.