CLI

Command reference

197 commands across 19 groups. Each row gives the command, what it does, its full syntax from the command registry (every positional argument, named parameter and flag) and the role it requires. help <command-name> prints the same syntax inside the CLI.

Inline SQL on JSON output

Most commands return JSON. The CLI ships a compact SQL engine that operates directly on that JSON. Use it on any read command to filter, project, sort, paginate, and transform.

ClauseFormNotes
SELECTselect id, name, upper(name) as upper_nameAliases (with or without as), DISTINCT, scalar functions, JSON paths.
FROMfrom executions · from node1.node2Flatten nested arrays. parent.* pulls all parent fields after flattening.
WHEREwhere status != "success" and started > ts("now - 10d")Full expression engine: =, !=, >, >=, <, <=, AND, OR, NOT, IS [NOT] NULL, LIKE (case-insensitive), IN, BETWEEN.
ORDER BYorder by created desc, name ascMulti-field, asc/desc. Supports SELECT aliases.
LIMITlimit 10Standard.

Functions

GroupFunctions
Stringupper(s) · lower(s) · startswith(s, prefix) · endswith(s, suffix)
Time arithmetic (epoch ms)addSeconds(ts, n) · addMinutes(ts, n) · addHours(ts, n) · addDays(ts, n)
ParsingparseDate(text) · parseDate(text, pattern) · age(ts): "5m ago"
Timestampsts(value) · now() · date(ts) · date_only(ts) · time_only(ts) · unix(value)
Relative tsts("now - 1d") · ts("now + 12h") · ts("now - 15m") · ts("now + 20s") · ts("now - 50ms")

Full grammar + complete function list: Built-in SQL in CLI.

Modifiers

ModifierEffect
--forceAllow destructive operations without an interactive prompt.
--silentSuppress normal output. Errors still surface.
--silent-if-emptySuppress output if stdout is null or an empty array.
--stop-on-errorHalt the script (or loop) on the first failure.

Confirmation

Roughly 50 commands: every delete-*, every edit-*, every flow run/stop, every agent lifecycle action are flagged as destructive and require --force in scripted runs (or a y at the prompt interactively). Tagged below as (confirms).


Help & info 8 commands

CommandDescription
helpList commands or get usage for one. Discoverable via the in-UI Command Palette too.
help [full=false|true] [asJson=true|false]
versionCLI version + build info.
version [extended]
whoamiCurrent user, role, tenant.
healthNode-level status, memory, thread pools, service availability.
updateSelf-update the CLI engine (where supported).
Super Admin
get-license-infoLicense tier, seats, usage caps.
Super Admin
list-app-releasesAvailable platform releases.
list-app-releases [limit]
printPrint a literal value (useful in scripts with capture vars).
print '<template>'

Flows: define & inspect 11 commands

CommandDescription
add-flowCreate a flow from a JSON definition.
add-flow '<flowJson>'Editor
edit-flowUpdate an existing flow from a JSON definition. (confirms)
edit-flow <flowId> '<flowJson>'Editor
delete-flowDelete a flow by id. Optional deleteConnections, deleteSchedules flags. (confirms)
delete-flow <flowId> [deleteConnections=true|false] [deleteSchedules=true|false]Editor
get-flowReturn the flow JSON by id.
get-flow <id|name>Editor
list-flowsList flows. Apply where + SQL clauses for filtering & projection.
list-flows [scope=all]Operator
find-flow-schedulesList schedules associated with a specific flow.
find-flow-schedules <flow-id>Administrator
flow-usageWhere this flow is referenced: other flows, schedules, agents.
flow-usage <flowId>Editor
inspect-flowStatic inspection. Returns severity-ranked issues with suggestions.
inspect-flow <flowId>Editor
flow-documentationGenerate Markdown documentation for a flow.
flow-documentation <flow-id>Editor
flow-findingsSaved inspection findings across flows, filterable by severity, flow and tenant: flow-findings [status=critical|major|medium|minor|info] [flowId=<id>] [flowName=<text>] [tenants=<ids|all>] [top=<N>].
flow-findings [tenants=<id1,id2,...|all>] [status=<critical|major|medium|minor|info>] [flowId=<id>] [flowName=<text>] [tenantName=<text>] [top=<N>]Viewer

Flows: run & monitor 14 commands

CommandDescription
run-flowRun a flow by id. Optional sync, debug, retry/email/timeout flags + arbitrary name=value flow parameters. (confirms)
run-flow <flowId> [sync=false|true] [waitIfRunning=true|false] [force=true|false] [allowParallel=false|true] [debug=true|false] [logStep=100] [emailOnSuccess=true|false] [emailOnFailure=true|false] [emailOnLastFailure=true|false] [emailMetrics=true|false] [emails=<list>] [expectedTime=<minutes>] [stopTime=<minutes>] [returnErrorCode=true|false] [disableExecutionNotifications=false|true] [repeatExpectedTimeNotifications=false|true] [checkAgentFlow=true|false] [anyFlowParameter=value ...]Operator
run-flow-by-nameRun a flow by name. Optional tenant=<name>. (confirms)
run-flow-by-name <flowName> [tenant=<tenantName>] [sync=false|true] [debug=true|false] [allowParallel=false|true] [logStep=100] [returnErrorCode=true|false] [emailOnSuccess=true|false] [emailOnFailure=true|false] [emailOnLastFailure=true|false] [emailMetrics=true|false] [emails=<list>] [expectedTime=<minutes>] [stopTime=<minutes>] [disableExecutionNotifications=false|true] [repeatExpectedTimeNotifications=false|true] [anyFlowParameter=value ...]Operator
run-agent-flowRun a flow on a specific on-prem agent. (confirms)
run-agent-flow <agentId> <flowId> [description=text] [verify=true|false]Administrator
stop-flowGraceful stop of a running flow. (confirms)
stop-flow <id>Operator
stop-agent-flowStop a running flow on a specific agent. (confirms)
stop-agent-flow <agentId> <flowId> [verify=true|false]Administrator
dbtRun a saved dbt flow and read what it produced: dbt execute <flow>, dbt <command> <flow> [select=…] [exclude=…] [vars=…], dbt results <flow>, dbt artifacts <flow>, dbt download-artifact <flow> <artifact>. Operator role.
dbt execute <flow> [runtimeParameter=value ...] | dbt <command> <flow> [select=...] [exclude=...] [vars=...] [macro=...] [args=...] | dbt results <flow> [execution=last] | dbt artifacts <flow> [execution=last] | dbt download-artifact <flow> <artifact> [execution=last] [invocation=...]Operator
get-flow-statusLatest run status for a flow.
get-flow-status <id> [status]Operator
list-running-flowsCurrently in-flight flows. SQL-friendly: filter by start time, tenant, etc.
Operator
tail-flow-logStream the run log for an in-flight execution.
tail-flow-log flowId=<id>|flowName=<name> auditId=<id|last|last-error|last-success|last-warning> [lines=100]Operator
flow-executionsExecutions for a date or offset, current tenant.
flow-executions [date=<YYYY-MM-DD>] [offset=<0-30>] [tenantId=<id>] [includeMetrics=true|false]Administrator
flow-executions-aggregatedExecutions across multiple tenants. tenants=all for everything.
flow-executions-aggregated tenants=<id1,id2,...|all> [date=<YYYY-MM-DD>] [offset=<0-30>] [includeMetrics=true|false]Super Admin
flows-suspendSuspend new executions (scheduler + manual). Running flows continue. (confirms)
flows-suspend [--persistent]Super Admin
flows-suspend-forceSuspend AND attempt to stop running flows. Emergency stop. (confirms)
flows-suspend-force [--persistent]Super Admin
flows-resumeRe-enable scheduler and manual executions. (confirms)
Super Admin

Connections 8 commands

Payloads are metadata-driven: connectionType values like connection.db.postgres and the properties keys come from the platform's connector library. Easiest discovery: build one in the UI, then get-connection <id> to see the exact shape.

CommandDescription
add-connectionCreate from a JSON payload (single-quoted).
add-connection '<connection-json>'Editor
edit-connectionUpdate from a JSON payload. (confirms)
edit-connection <id> '<connection-json>'Editor
delete-connectionDelete by id. (confirms)
delete-connection <id>Editor
get-connectionReturn the connection JSON by id (credentials redacted).
get-connection <id|name>Editor
list-connectionsList connections. SQL clauses supported.
list-connections [scope=all]Editor
build-default-connectionBuild a connection template from a connectorType descriptor. Accelerates IaC provisioning.
build-default-connection <connection-type>Editor
test-connectionVerify the connection (engine or specific agent).
test-connection <id> [agent=<agent-id>] [action=<agent-action-id>]Editor
find-connection-usageList flows that reference this connection.
find-connection-usage <connection-id>Editor

Formats 7 commands

CommandDescription
add-formatCreate a format from a JSON payload.
add-format '<format-json>'Editor
edit-formatUpdate a format. (confirms)
edit-format <id> '<format-json>'Editor
delete-formatDelete by id. (confirms)
delete-format <id>Editor
get-formatReturn the format JSON.
get-format <id>Editor
list-formatsList formats. SQL-friendly.
list-formats [scope=all]Editor
build-default-formatBuild a format from descriptor defaults for the given format type.
build-default-format <format-type>Editor
find-format-usageList flows that use this format.
find-format-usage <format-id>Editor

Schedules 8 commands

CommandDescription
add-scheduleCreate from a JSON payload. (confirms)
add-schedule '<schedule-json>'Administrator
edit-scheduleUpdate from a JSON payload. (confirms)
edit-schedule <id> '<schedule-json>'Administrator
delete-scheduleDelete by id. (confirms)
delete-schedule <id>Administrator
get-scheduleReturn the schedule JSON.
get-schedule <id>Administrator
list-schedulesList schedules. SQL-friendly: filter by enabled, etc.
list-schedules [scope=all]Administrator
enable-scheduleEnable a schedule. (confirms)
enable-schedule <schedule-id>Administrator
disable-scheduleDisable a schedule. (confirms)
disable-schedule <schedule-id>Administrator
is-schedule-enabledBoolean check.
is-schedule-enabled <schedule-id>Administrator

Macros 5 commands

CommandDescription
add-macroCreate a macro.
add-macro '<json>'Editor
edit-macroUpdate. (confirms)
edit-macro <id> '<json>'Editor
delete-macroDelete by id. (confirms)
delete-macro <id>Administrator
get-macroReturn the macro JSON.
get-macro <id>Editor
list-macrosList macros.
Editor

Webhooks 7 commands

Webhooks are outbound: Etlworks POSTs to your URL when listed flow events fire.

CommandDescription
add-webhookSubscribe to flow events. (confirms)
add-webhook '<webhook-json>'Administrator
edit-webhookUpdate a subscription. (confirms)
edit-webhook <id> '<webhook-json>'Administrator
delete-webhookUnsubscribe. (confirms)
delete-webhook <id>Administrator
get-webhookReturn the webhook JSON.
get-webhook <id>Administrator
list-webhooksList subscriptions.
list-webhooks [scope=all]Administrator
get-webhook-eventOne outbound delivery attempt + its HTTP response.
get-webhook-event <webhook-id> <event-id>Administrator
get-webhook-eventsList recent delivery attempts.
get-webhook-events <webhook-id>Administrator

Tags & search 5 commands

CommandDescription
list-tagsAll tags in the current account. global=true for all tenants.
list-tags [global=true|false] [include=types] [exclude=types]Editor
update-tagsRename / delete tags in the current account. (confirms)
update-tags '<json>'Administrator
update-all-tagsSame operation across all tenants (super admin). (confirms)
update-all-tags '<json>'Super Admin
update-tenant-tagsTag operations scoped to a specific tenant. (confirms)
update-tenant-tags <tenantId> '<json>'Super Admin

Users & tenants 8 commands

CommandDescription
add-userCreate a user from a JSON definition.
add-user '<userJson>' [noInvite=<true|false>]Administrator
edit-userUpdate. (confirms)
edit-user <userId> '<userJson>'Administrator
get-userReturn the user record.
get-user <id>Administrator
list-usersUsers in the current tenant.
Administrator
add-tenantCreate a tenant (super admin).
add-tenant '<tenantJson>'Super Admin
edit-tenantUpdate tenant settings. (confirms)
edit-tenant <tenantId> '<tenantJson>'Super Admin
get-tenantReturn the tenant record.
get-tenant <id>Super Admin
list-tenantsTenants visible to the calling user.
Super Admin

History, diff & revert 18 commands

Every CRUD-ed resource keeps version history. Pair *-history with *-history-diff to inspect changes between specific versions or against the current. Since 10.0.0, revert-* restores a specific revision and saves it immediately.

CommandDescription
flow-historyPast versions of a flow.
flow-history <flowId>Editor
flow-history-diffDiff two flow versions: flow-history-diff <flowId> from=current to=last.
flow-history-diff <flowId> from=<uuid|current> to=<uuid|last>Editor
connection-historyPast versions of a connection.
connection-history <connection-id>Editor
connection-history-diffDiff two connection versions.
connection-history-diff <connection-id> <from-uuid|current> <to-uuid|last>Editor
format-historyPast versions of a format.
format-history <id>Editor
format-history-diffDiff two format versions.
format-history-diff <id> <from-uuid|current> <to-uuid|last>Editor
schedule-historyPast versions of a schedule.
schedule-history <schedule-id>Administrator
schedule-history-diffDiff two schedule versions.
schedule-history-diff <schedule-id> <from-uuid|current> <to-uuid|last>Administrator
macro-historyPast versions of a macro.
macro-history <id>Editor
macro-history-diffDiff two macro versions.
macro-history-diff <id> <from-uuid|current> <to-uuid|last>Editor
agent-historyPast versions of an agent definition.
agent-history <agentId>Administrator
agent-history-diffDiff two agent versions.
agent-history-diff <agentId> from=<uuid|current> to=<uuid|last>Administrator
revert-flowRestore a flow to a revision: revert-flow <flowId> <revision-uuid>. (confirms)
revert-flow <id> <revision-uuid> [confirm=<token>|--force]Administrator
revert-connectionRestore a connection to a revision. (confirms)
revert-connection <id> <revision-uuid> [confirm=<token>|--force]Administrator
revert-formatRestore a format to a revision. (confirms)
revert-format <id> <revision-uuid> [confirm=<token>|--force]Administrator
revert-scheduleRestore a schedule to a revision, including its saved enabled state and scheduling configuration. (confirms)
revert-schedule <id> <revision-uuid> [confirm=<token>|--force]Administrator
revert-agentRestore an Agent's saved configuration to a revision. Does not change the software installed on the host. (confirms)
revert-agent <id> <revision-uuid> [confirm=<token>|--force]Administrator
revert-macroRestore a macro to a revision. (confirms)
revert-macro <id> <revision-uuid> [confirm=<token>|--force]Administrator

Revert rules

CLI
flow-history 123
revert-flow 123 973d824c-3d0f-4d9f-8a56-decf8f08ebce
revert-flow 123 973d824c-3d0f-4d9f-8a56-decf8f08ebce confirm=<returned-token>

Recycle Bin 10 commands

Added in 10.0.0. Deleting a flow, connection, format, listener or Agent configuration moves it to the Recycle Bin; these commands find it and bring it back. Unlike revert-*, which picks a revision of a live artifact, restore-* recovers a deleted one.

CommandDescription
list-deleted-flowsDeleted flows with restore-eligibility metadata.
Administrator
list-deleted-connectionsDeleted connections.
Administrator
list-deleted-formatsDeleted formats.
Administrator
list-deleted-listenersDeleted listeners.
Administrator
list-deleted-agentsDeleted Agent configurations.
Administrator
restore-flowRestore a deleted flow: restore-flow <name|id>. (confirms)
restore-flow <name|id> [confirm=<token>|--force] (or id=<id> / name=<name>)Administrator
restore-connectionRestore a deleted connection. (confirms)
restore-connection <name|id> [confirm=<token>|--force] (or id=<id> / name=<name>)Administrator
restore-formatRestore a deleted format. (confirms)
restore-format <name|id> [confirm=<token>|--force] (or id=<id> / name=<name>)Administrator
restore-listenerRestore a deleted listener. (confirms)
restore-listener <name|id> [confirm=<token>|--force] (or id=<id> / name=<name>)Administrator
restore-agentRestore a deleted Agent configuration. Does not reinstall anything on a host. (confirms)
restore-agent <name|id> [confirm=<token>|--force] (or id=<id> / name=<name>)Administrator

Listing

The list-deleted-* commands take no arguments, are read-only and need no confirmation. Each returns a JSON array of objects with type, id, name, tenantId (null means a global artifact), subType, deleted (Unix epoch milliseconds), deletedBy, canRestore and restoreBlockedReason. Blocked items stay visible with their reason, and canRestore is preliminary metadata eligibility: a restore still runs dependency and authorization checks and can fail. An empty Recycle Bin is [] with exit code 0. Connections and listeners are listed separately, and deleted schedules and standalone macros are not covered.

Restoring

CLI
list-deleted-flows
restore-flow id=42
restore-flow id=42 confirm=<returned-token>

Export, import & copy 7 commands

Move flows, connections and formats between environments or tenants through dump files in local storage. Relative paths resolve under app.data. All seven need Editor rights on what they touch.

CommandDescription
export-flowsExport all or selected flows to a dump file: export-flows <file> [<id|name> …] [excludeCredentials=true|false].
export-flows <file> [<id|name> ...] [excludeCredentials=true|false] [format=etld|json (default etld)] [connections=nosecrets|reference|encrypted (format=json only, default nosecrets; encrypted uses the Private Key or the Readable JSON Key in Settings > Security)]Editor
export-connectionsSame for connections.
export-connections <file> [<id|name> ...] [excludeCredentials=true|false] [format=etld|json (default etld)] [connections=nosecrets|encrypted (format=json only, default nosecrets; encrypted uses the Private Key or the Readable JSON Key in Settings > Security)]Editor
export-formatsSame for formats.
export-formats <file> [<id|name> ...] [excludeCredentials=true|false] [format=etld|json (default etld)] [connections=nosecrets|encrypted (format=json only, default nosecrets; encrypted uses the Private Key or the Readable JSON Key in Settings > Security)]Editor
import-flowsImport every flow in a dump file and return the import report: import-flows <file> [collision=Add|Replace|Keep] [message="text"] [tags=tag1,tag2] [noCredentials=true|false]. (confirms)
import-flows <file> [collision=Add|Replace|Keep|KeepAllReplaceFlowsAndMacros (default Add for .etld, KeepAllReplaceFlowsAndMacros for readable JSON)] [replace=<types>] [keep=<types>] [copy=<types>] [fail=<types>] [message="text"] [tags=tag1,tag2] [noCredentials=true|false (default false)] <types>: comma-separated flows, macros, formats, schedules, connections. Modifiers change what the collision policy does for those types.Editor
import-connectionsSame for connections. (confirms)
import-connections <file> [collision=Add|Replace|Keep|KeepAllReplaceFlowsAndMacros (default Add for .etld, KeepAllReplaceFlowsAndMacros for readable JSON)] [replace=<types>] [keep=<types>] [copy=<types>] [fail=<types>] [message="text"] [tags=tag1,tag2] [noCredentials=true|false (default false)] <types>: comma-separated flows, macros, formats, schedules, connections. Modifiers change what the collision policy does for those types.Editor
import-formatsSame for formats. (confirms)
import-formats <file> [collision=Add|Replace|Keep|KeepAllReplaceFlowsAndMacros (default Add for .etld, KeepAllReplaceFlowsAndMacros for readable JSON)] [replace=<types>] [keep=<types>] [copy=<types>] [fail=<types>] [message="text"] [tags=tag1,tag2] [noCredentials=true|false (default false)] <types>: comma-separated flows, macros, formats, schedules, connections. Modifiers change what the collision policy does for those types.Editor
copy-flowCopy a flow with all its connections and formats, within a tenant or between tenants: copy-flow <flowId|name> [from-tenant=…] [to-tenant=…] [collision=Add|Keep|Replace] [importSchedules=true|false] [excludeCredentials=true|false]. Credentials are copied by default so the copy runs. Cross-tenant copies need Super Admin.
copy-flow <flowId|name> [to-tenant=<id|name|current> (default current)] [from-tenant=<id|name|current> (default current)] [collision=Add|Keep|Replace (default Add)] [importSchedules=true|false (default false)] [excludeCredentials=true|false (default false)]Editor

Git 13 commands

Work with a Git Repository connection: its remote and Etlworks’ own working copy of it (the workspace), and move projects between Git and Etlworks. The first argument is the connection’s name or ID. Commands that change the repository or the workspace need Edit rights on the connection. See Git in Etlworks.

CommandDescription
git-refsLists the branches and tags of a Git Repository connection’s remote, and its default branch.
git-refs <connection> [json=true]Viewer
git-statusShows the Etlworks workspace of a Git Repository connection: the branch, commits to push or pull, and changed files.
git-status <connection> [json=true]Editor
git-diffShows uncommitted changes in the workspace (new files are listed by git-status).
git-diff <connection> [path=<file or folder>] [stat=true]Editor
git-logLists recent commits of a branch or tag (default: the workspace’s current branch), optionally for one path.
git-log <connection> [ref=<branch|tag|commit>] [path=<file or folder>] [count=20] [json=true]Editor
git-pullBrings the remote’s commits into the workspace (fast-forward only; nothing is merged). branch= switches to that branch first.
git-pull <connection> [branch=<name>]Editor
git-commitCommits changes in the workspace (all of them, or paths=). Nothing is pushed: use git-push.
git-commit <connection> message="text" [paths=<a,b>]Editor
git-pushPushes the workspace’s branch to the remote. Never forces: if the remote has new commits, run git-pull first. (confirms)
git-push <connection>Editor
git-branchCreates a branch from another branch, tag or commit (default: the default branch) and pushes it. (confirms)
git-branch <connection> name=<branch> [from=<branch|tag|commit>]Editor
git-tagTags a branch, tag or commit (default: the default branch) and pushes the tag, for example to mark a release. (confirms)
git-tag <connection> name=<tag> [ref=<branch|tag|commit>]Editor
git-resetDiscards uncommitted changes and unpushed commits in the workspace: the branch goes back to the remote’s. Nothing on the remote changes. (confirms)
git-reset <connection> [branch=<name>] --forceEditor
git-sync-outExports flows, with everything they use, as a project into a Git repository, commits and pushes. branch= pushes to that branch, creating it from the default branch if needed. With flows=all, files of objects no longer exported are removed. (confirms)
git-sync-out <connection> [branch=<name>] [path=<folder in the repository>] [project=<name>] [flows=<id|name,...>|all] [connections=nosecrets|reference|encrypted] [schedules=true|false] [clean=true|false] [message="text"]Editor
git-sync-inDeploys a project from Git: reads the branch, tag or commit, plans and applies. dry-run=true shows the plan only; plan-hash= deploys only the plan you reviewed. Same options as project-apply. (confirms)
git-sync-in <connection> [ref=<branch|tag|commit>] [path=<folder in the repository>] [env=<name>] [prune=true] [takeover=true] [collision=Replace|Keep|KeepAllReplaceFlowsAndMacros] [replace=<types>] [keep=<types>] [fail=<types>] [dry-run=true] [plan-hash=<hash>] [message="text"] [json=true] [verbose=true]Editor
git-manageStarts managing flows in Git in one step: exports them, with everything they use, to a folder of a branch, pushes, and records them as managed at that commit without changing them here. all-types=true also manages connections, formats and schedules; takeover=true moves objects from another project. (confirms)
git-manage <connection> flows=<id|name,...>|all [path=<folder in the repository>] [project=<name>] [branch=<name>] [all-types=true] [connections=nosecrets|reference|encrypted] [schedules=true|false] [takeover=true] [message="text"]Editor

Projects (flows as code) 12 commands

A project is a folder of readable JSON files, one per flow, connection, format, macro or schedule, that you keep in Git and deploy to any environment. The etlworks client runs the same commands from a laptop or CI.

CommandDescription
project-exportWrites flows, with everything they use, as a project folder: one file per object, SQL and scripts as files. The folder is under your app.data, or out=download returns a zip.
project-export <folder>|out=download [project=<name>] [flows=<id|name,...>|all] [connections=nosecrets|reference|encrypted] [schedules=true|false] [clean=true]Editor
project-validateChecks a project without changing anything: files, references, environment overrides, credentials, and conflicts with this environment.
project-validate <folder|bundle|upload:<id>|git:<connection>[@<branch|tag|commit>]> [path=<folder in the repository>] [env=<name>] [collision=Replace|Keep|KeepAllReplaceFlowsAndMacros] [replace=<types>] [keep=<types>] [fail=<types>]Viewer
project-planShows what project-apply would do (create, update, adopt, keep, unchanged, delete), with the differences. Changes nothing. Its plan hash can be passed to project-apply plan-hash=.
project-plan <folder|bundle|upload:<id>|git:<connection>[@<branch|tag|commit>]> [path=<folder in the repository>] [env=<name>] [prune=true] [takeover=true] [collision=Replace|Keep|KeepAllReplaceFlowsAndMacros] [replace=<types>] [keep=<types>] [fail=<types>] [json=true] [verbose=true]Editor
project-applyDeploys a project: plans, then imports in one transaction, leaving unchanged objects untouched. prune=true deletes objects the project deployed that are no longer in it; plan-hash= deploys only the plan you reviewed. (confirms)
project-apply <folder|bundle|upload:<id>|git:<connection>[@<branch|tag|commit>]> [path=<folder in the repository>] [env=<name>] [prune=true] [takeover=true] [collision=Replace|Keep|KeepAllReplaceFlowsAndMacros] [replace=<types>] [keep=<types>] [fail=<types>] [plan-hash=<hash>] [message="text"] [json=true] [verbose=true]Editor
project-driftLists objects deployed by projects and whether each was changed here since its deploy (canvas layout and credentials don’t count).
project-drift [project=<name>] [changed=true] [json=true]Viewer
project-compareShows how an object deployed from Git differs here from the version deployed (the recorded commit and environment).
project-compare <flow|connection|format|macro|schedule> <name|id> [json=true]Viewer
project-revertRe-applies the version of one object deployed from Git, undoing changes made here. The rest of the project is left as it is.
project-revert <flow|connection|format|macro|schedule> <name|id> [message="text"]Editor
project-env-initCreates environments/<env>.json in a project folder, listing the project’s objects to fill in.
project-env-init <folder> env=<name> [force=true]Editor
project-env-getLists the overrides stored in this environment for a project (secrets hidden).
project-env-get <project>Editor
project-env-setStores an override for a project in this environment (not in Git); stored values win over the environment file. secret=true stores it encrypted and hides it. (confirms)
project-env-set <project> connection|format|flow|schedule <name> <field> value=<value> [secret=true]Administrator
project-env-unsetRemoves an override stored in this environment for a project. (confirms)
project-env-unset <project> connection|format|flow|schedule <name> <field>Administrator
project-encrypt-valuePrints the encrypted form of a secret for an environment file, bound to the object and field. Not available to tenant users on servers shared by several tenants.
project-encrypt-value connection|format|schedule <name> <field> value=<secret> [connectionType=<type>]Editor

Data & SQL 7 commands

Inline SQL operations on the data behind any connection, plus JavaScript for arbitrary computation.

CommandDescription
data-run-sqlExecute SQL on a connection. data-run-sql connectionId=<id> [object=<name>] [formatId=<id>] [sql="<statement>"] [script=true|false] [agent=<agentId>]. Works against SQL databases, files, APIs, queue connections.
data-run-sql connectionId=<id> [object=<name>] [formatId=<id>] [sql="<statement>"] [script=true|false] [agent=<agentId>] [action=<agentActionId>]Editor
data-list-objectsList objects (tables, views, files, endpoints) exposed by a connection.
data-list-objects connectionId=<id> [formatId=<id>]Editor
data-list-fieldsList the fields/columns of one object on a connection.
data-list-fields connectionId=<id> object=<name> [formatId=<id>]Editor
data-get-rawReturn raw, untransformed data from a connection + format. connectionId, formatId, object required.
data-get-raw connectionId=<id> object=<name> formatId=<id> [agent=<agentId>] [action=<agentActionId>]Editor
get-sql-historyPast SQL executed against a given connection.
get-sql-history <connectionId>Editor
execute-codeExecute JavaScript inline. execute-code code="<js>" [params='{"k":"v"}'] [java=true]. Calculations, data transforms, custom logic.
execute-code code="<javascript>" [params='{"key":"value"}'] [java=true]
list-functionsThe platform's built-in transformation function catalog: signatures + descriptions.
Editor

Agents (on-prem workers) 16 commands

Manage on-prem CLI workers that execute flows on customer infrastructure. Not the AI agent, that's documented separately at /dev/ai/.

CommandDescription
add-agentCreate an agent from a JSON definition.
add-agent '<agentJson>'Administrator
edit-agentUpdate an agent. (confirms)
edit-agent <agentId> '<agentJson>'Administrator
delete-agentDelete by id. (confirms)
delete-agent <agentId>Administrator
get-agentReturn the agent record. extended=true includes properties, ping, flows.
get-agent <agentId> [extended=false|true]Administrator
get-agent-statusStatus & metrics for an agent.
get-agent-status <agentId>Administrator
list-agentsList agents. SQL-friendly: filter by enabled, by ping age, etc.
list-agents [scope=all] [extended=false|true]Administrator
list-agent-releasesAvailable agent build versions.
list-agent-releases [limit]
enable-agentEnable. (confirms)
enable-agent <agentId>Administrator
disable-agentDisable. (confirms)
disable-agent <agentId>Administrator
start-agentStart a stopped agent. (confirms)
start-agent <agentId> [verify=true|false]Administrator
stop-agentStop a running agent. (confirms)
stop-agent <agentId> [verify=true|false]Administrator
restart-agentRestart. (confirms)
restart-agent <agentId> [verify=true|false]Administrator
update-agentRoll the agent to the latest build. (confirms)
update-agent <agentId> [version=<version>] [verify=true|false]Administrator
set-agent-max-ramAdjust max heap. (confirms)
set-agent-max-ram <agentId> <maxRamMb> [verify=true|false]Administrator
add-agent-actionQueue an action against an agent and return the receipt. (confirms)
add-agent-action <agentId> '<agentActionJson>'Administrator
cancel-agent-actionCancel a queued action. (confirms)
cancel-agent-action <agentId> <actionId>Administrator

Observability & system 28 commands

CommandDescription
metricsTime-series metrics (current tenant).
metrics [tenantId=<id>]Administrator
metrics-aggregatedTime-series across multiple tenants.
metrics-aggregated tenants=<id1,id2,...|all>Super Admin
etl-threadsETL execution threads across all nodes: parent & child threads.
Super Admin
running-tasksTasks in-flight on this node.
running-tasks [tenantId=<id>]Operator
running-tasks-aggregatedTasks across the cluster. (confirms)
running-tasks-aggregated tenants=<id1,id2,...|all>Super Admin
resource-configResource configuration snapshot.
Super Admin
resource-summaryResource utilization summary.
Super Admin
resource-executionsExecutions broken out by resource.
resource-executions [from=<ISO-8601>] [to=<ISO-8601>] [flowId=<id>] [tenants=<id1,id2,...>] [top=<N>]Super Admin
resource-bottlenecksDetected bottlenecks ranked by impact.
resource-bottlenecks [from=<ISO-8601>] [to=<ISO-8601>] [tenants=<id1,id2,...>] [top=<N>]Super Admin
resource-threadsThread-pool utilization.
resource-threads [from=<ISO-8601>] [to=<ISO-8601>] [flowId=<id>] [tenants=<id1,id2,...>] [nodeId=<node>] [rootsOnly=<true|false>] [top=<N>]Super Admin
resource-timelineResource usage over time.
resource-timeline [from=<ISO-8601>] [to=<ISO-8601>] [nodeId=<node>] [metric=<cpu|memory|cpu+memory|heap|threads|disk|data-disk>] [resolution=<auto|1m|15m|1h|fine|medium|coarse>]Super Admin
resource-top-flowsFlows consuming the most resources.
resource-top-flows [from=<ISO-8601>] [to=<ISO-8601>] [tenants=<id1,id2,...>] [metric=<cpu|memory|allocation>] [top=<N>]Super Admin
get-audit-recordsAudit log entries with optional filters (resourceType, userId, action, since).
get-audit-records [fromDate=...] [toDate=...] [fromTime=...] [toTime=...] [method=...] [parameters=...] [exception=...] [user=...] [status=success|error] [duration=<ms>] [clientIp=...]Administrator
list-errorsRecent error events.
list-errors [top=20] [hours=24] [flowId=123|flowName=<name>] [warnings=true]Super Admin
disk-usage-summaryTotal / free / used space for app.data with breakdown by tenant / directory.
Super Admin
find-filesFind files under app.data by name, extension, size, modification date. (confirms)
find-files [name=*.log] [ext=.csv] [path=logs] [size=>10MB] [modified=>2026-01-01] [top=50] [sort=size|name|modified] [delete=true]Super Admin
list-large-filesFiles exceeding a size threshold.
list-large-files [top=20] [min_size=1MB] [path=logs] [ext=.log]Super Admin
list-listenersListener connections (HTTP / Kafka / SQS / MQTT) currently registered.
list-listeners [scope=all]Editor
list-messagesInbound listener messages.
Administrator
list-messages-filteredFilter messages by message body, format, status.
list-messages-filtered [sender=<name>] [size=<n>] [sizeType=<Byte|KB|MB>] [comparator=< <|=|> >] [fromDate=<epoch>] [toDate=<epoch>] [status=<s>] [format=<fmt>] [message=<substring>] [scheduleName=<name>]Administrator
get-messagePull the full body of a single message.
get-message <messageId>Administrator
send-mailSend an email through the platform's mailer.
send-mail to="recipient@example.com" subject="Subject line" body="Email body (HTML supported)"Operator
tail-app-logLast lines of the application log, on one node or all: tail-app-log [node=<nodeId|all>] [lines=<1-100000>]. Application nodes only, use tail-flow-log for executions. Super Admin.
tail-app-log [node=<nodeId|all>] [lines=<1-100000>]Super Admin
refresh-licenseRefresh license properties on all live application nodes, after a renewal or plan change, without a restart. Super Admin.
Super Admin
ai-usage-reportAI token usage for a day or a date range, broken down to find what drove a spike: ai-usage-report <from-date> [to-date] [by=user|session|model|day], or ai-usage-report export=<session-id> for a transcript download link. Super Admin.
ai-usage-report <from-date> [to-date] [by=user|session|model|day] OR ai-usage-report export=<session-id> [format=csv|json|md] (dates YYYY-MM-DD; single date = that day; range inclusive; export returns an authenticated transcript download link)Super Admin
resource-incidentsResource Usage incident windows (CPU, RAM, disk) with the flow evidence captured during each: resource-incidents [from=…] [to=…] [status=open|resolved|interrupted] [resource=…] [nodeId=…] [top=<N>]. Defaults to the last 6 hours.
resource-incidents [from=<ISO-8601>] [to=<ISO-8601>] [nodeId=<node>] [status=<open|resolved|interrupted>] [resource=<cpu|ram|disk|cpu_ram|cpu_disk|ram_disk|cpu_ram_disk>] [top=<N>]Super Admin
resource-incident-impactExecution impact of one incident: baseline and incident windows, impact indicators, and the most affected flows. resource-incident-impact incidentId=<id>.
resource-incident-impact incidentId=<id> [tenants=<id1,id2,...>]Super Admin
redis-persist-for-backupPersist Redis state to disk (BGSAVE) before a backup or migration, and wait until it completes. (confirms)
Super Admin

Diagnostics 5 commands

Added in 10.0.8. Super Admin only. Each command reads the ETL engine node that answers the request, not the whole cluster and not Integration Agents, and needs an up-to-date engine.

CommandDescription
thread-dumpRead-only live thread dump of the engine JVM: states, full stacks, locks and lock owners. --name=<substring> narrows to an execution’s threads, --thread-id to one thread; pages with --limit and --after-thread-id. Use it for stalls.
thread-dump [--name=<thread-name-substring>] [--thread-id=<id>] [--limit=20] [--after-thread-id=<id>]Super Admin
core-dumpWrite an HPROF heap dump on the engine and return its path. Can pause the JVM and uses disk space. (confirms)
Super Admin
analyze-heap-dumpAnalyze a heap dump in an isolated, bounded JVM on its node: class histogram, largest retained objects, GC-root paths and thread stacks, never payload values. Starts an asynchronous job: analyze-heap-dump <path> [--top=20] [--histogram-only] [--wait=20]. (confirms)
analyze-heap-dump <engine-hprof-path|job-id> [--top=20] [--histogram-only] [--wait=20]Super Admin
heap-analysis-statusPoll a heap analysis job for its partial or final report: heap-analysis-status <job-id> [--wait=20].
heap-analysis-status <job-id> [--wait=20]Super Admin
cdc-buffersLive CDC queue occupancy, estimated bytes, producer backpressure and destination flush timing on the responding engine node. Read-only.
Super Admin

Reading the syntax

<value> is required, [value] is optional, a|b is a choice, and name=value is a named parameter. The role is the one the registry declares for the command; your tenant’s permissions still apply. Every command returns JSON unless it says otherwise, so any read command can be followed by the inline SQL clauses to filter and shape its output. The syntax on this page is taken from the command registry of the current release.