Workflows

sim workflows is also spelled sim workflow.

Every command below also accepts the global options.

Cancel a running workflow run

sim workflows runs cancel <runId> [options]

Arguments

ArgumentRequiredDescription
runIdYesUnique workflow run identifier.

Options

OptionRequiredDescription
--workflow <workflowId>YesWorkflow ID.

Show run status

sim workflows runs get <runId> [options]

Show run status (requested outputs are included in JSON or YAML output)

Arguments

ArgumentRequiredDescription
runIdYesUnique workflow run identifier.

Options

OptionRequiredDescription
--workflow <workflowId>YesWorkflow ID.
--include-outputNoInclude the final output in JSON or YAML output.
--select-output <value...>NoInclude blockName.field values in JSON or YAML output (e.g. agent_1.content) (space-separated, or @path / @- with one value per line).

List runs for a workflow

sim workflows runs list [options]

Options

OptionRequiredDescription
--workflow <workflowId>YesWorkflow ID.
--status <value>NoFilter by run status. Accepted values: pending, running, completed, failed, cancelled, paused.
--trigger <value>NoFilter by trigger type.
--start-date <value>NoOnly include runs started at or after this UTC ISO 8601 timestamp, e.g. 2026-08-06T00:00:00Z. A date without a time, or a timestamp carrying a UTC offset instead of Z, is rejected, as is year 0000, which names no storable instant.
--end-date <value>NoOnly include runs started at or before this UTC ISO 8601 timestamp, e.g. 2026-08-06T00:00:00Z. A date without a time, or a timestamp carrying a UTC offset instead of Z, is rejected, as is year 0000, which names no storable instant.
--limit <n>NoMaximum items to return (0 for everything). Defaults to 100.
--order <value>NoSort direction by run start time. This list is sortable only by run start time, so it takes order in place of sortBy/sortOrder, which it rejects. Accepted values: asc, desc.

Resume a paused run

sim workflows runs resume <runId> [options]

Resume a paused run (output is included in JSON or YAML output)

Arguments

ArgumentRequiredDescription
runIdYesUnique workflow run identifier.

Options

OptionRequiredDescription
--workflow <workflowId>YesWorkflow ID.
--context <value>YesPause context ID returned by run status.
--input <json|@file>NoResume input as JSON (JSON, or @path / @- to read a file or stdin).

Create workflow

sim workflows create [options]

Options

OptionRequiredDescription
--name <value>YesWorkflow name.
--description <value>NoOptional workflow description.
--folder <value>NoFolder path; the leading / is optional.

Create a workflow folder at a path

sim workflows folders create <path>

Arguments

ArgumentRequiredDescription
pathYesFolder path; the leading / is optional

Delete workflow folder

sim workflows folders delete <path> [options]

Arguments

ArgumentRequiredDescription
pathYesFolder path; the leading / is optional

Options

OptionRequiredDescription
--recursiveNoDelete the folder and its descendants.
-y, --yesNoSkip the confirmation.

List workflow folders

sim workflows folders list [options]

Also available as sim workflows folders ls.

Options

OptionRequiredDescription
--parent <value>NoDirect parent folder path.
--search <value>NoCase-insensitive substring match against the folder name.
--sort-by <value>NoField used to sort the result. Sorting by name is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: name, createdAt, updatedAt.
--sort-order <value>NoSort direction. Accepted values: asc, desc.

Rename or move a workflow folder

sim workflows folders move <path> <destination>

Also available as sim workflows folders mv.

Arguments

ArgumentRequiredDescription
pathYesFolder path; the leading / is optional
destinationYesFolder path; the leading / is optional

Delete workflow

sim workflows delete <id> [options]

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Options

OptionRequiredDescription
-y, --yesNoSkip the confirmation.

Deploy workflow

sim workflows deploy <id> [options]

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Options

OptionRequiredDescription
--name <value>NoOptional label for the deployment version.
--description <value>NoOptional release note for the deployment version.

Run a deployed workflow

sim workflows run <id> [options]

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Options

OptionRequiredDescription
--input <json|@file>NoTrigger input as JSON (JSON, or @path / @- to read a file or stdin).
--asyncNoQueue the run and return immediately.
--execution-timeout-seconds <value>NoRequested server-side timeout for an asynchronous run, in seconds. An upper bound, not the effective timeout: the run uses the smaller of this value and the plan's execution timeout, so requesting more than the plan allows silently yields the plan timeout. Rejected with 400 unless async is true.
--select-output <value...>NoReturn blockName.field values (e.g. agent_1.content); missing fields are omitted (space-separated, or @path / @- with one value per line).
--include-file-base64NoInline eligible output files as base64 content. Rejected when async is true.
--no-include-file-base64NoSend --include-file-base64 as false.
--base64-max-bytes <value>NoMaximum total bytes of file content to inline as base64. Rejected when async is true.
sim workflows export <id>

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Get workflow

sim workflows get <id>

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Get workflow deployment

sim workflows deployment list <id>

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Get workflow version

sim workflows versions get <id> <version>

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.
versionYesNumeric deployment version.

List workflow versions

sim workflows versions list <id> [options]

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Options

OptionRequiredDescription
--limit <n>NoMaximum items to return (0 for everything). Defaults to 100.

Import workflow

sim workflows import [options]

Options

OptionRequiredDescription
--workflow <json|@file>YesWorkflow export object, bare workflow state, or JSON string containing either form. (JSON, or @path / @- to read a file or stdin).
--folder <value>NoFolder path; the leading / is optional.
--name <value>NoOverride for the imported workflow name.
--description <value>NoOverride for the imported workflow description.

List workflows

sim workflows list [options]

Options

OptionRequiredDescription
--folder <value>NoFolder path; the leading / is optional.
--deployed-onlyNoReturn only workflows with an active deployment when true.
--no-deployed-onlyNoSend --deployed-only as false.
--limit <n>NoMaximum items to return (0 for everything). Defaults to 100.
--search <value>NoCase-insensitive substring match against the resource name.
--sort-by <value>NoField used to sort the result. Sorting by name is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: position, name, createdAt, updatedAt, runCount.
--sort-order <value>NoSort direction. Accepted values: asc, desc.

Rollback workflow

sim workflows rollback <id> [options]

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Options

OptionRequiredDescription
--version <value>NoDeployment version to reactivate. Omit to select the previous active version.

Take a workflow out of deployment

sim workflows undeploy <id>

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Update workflow

sim workflows update <id> [options]

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.

Options

OptionRequiredDescription
--name <value>NoReplacement workflow name.
--description <value>NoReplacement workflow description; null clears it.
--folder <value>NoFolder path; the leading / is optional.

Move a workflow to a folder

sim workflows mv <id> <folder>

Arguments

ArgumentRequiredDescription
idYesUnique workflow identifier.
folderYesFolder path; the leading / is optional

List workflow resources and child folders together

sim workflows ls [path] [options]

Arguments

ArgumentRequiredDescription
pathNoFolder path to list; defaults to the root folder

Options

OptionRequiredDescription
--search <text>NoFilter folders and resources by name.
--limit <n>NoMaximum combined items to return (0 for everything). Defaults to 100.

Create a workflow directory at a path

sim workflows mkdir <path>

Arguments

ArgumentRequiredDescription
pathYesFolder path to create; the leading / is optional

On this page