Sim CLI

Use sim to run workflows, query tables, move files, search knowledge bases, and read logs. Structured results default to JSON for scripts, CI jobs, and coding agents. Select --output table for a readable table.

Install

The installed CLI requires Node.js 20 or newer. Install it globally with Bun, then check the version:

bun add -g sim
sim --version

To run a command without a global installation:

bunx sim --help

The package also supports npm and pnpm installations. Keep using the package manager that owns your installation when upgrading; another manager may install a second copy on your PATH.

Eligible interactive invocations can show an update notice. Run sim update to update the active global installation. See Updates for supported managers, release channels, and notice controls.

Your first command

1. Sign in

sim login

Local sign-in prefers OAuth and opens a browser for approval. SSH sessions and headless Linux terminals select API-key pairing. To choose pairing explicitly without opening a browser:

sim login --method api-key --no-browser

Approve the code shown in your terminal. See Authentication for CI credentials, remote terminals, multiple accounts, and self-hosted deployments.

2. Choose a workspace

After OAuth login, list your workspaces and set a default:

sim workspaces list
sim configure --set-workspace <workspaceId>

Pairing sets the default workspace you choose on its approval page. Override that target for one command with --workspace <workspaceId>.

3. Check the resolved settings

sim whoami

This shows the endpoint, credential type, workspace, and output format, including the source of each setting. It also checks authentication and access to the selected workspace. Use --no-verify to inspect settings offline.

4. List and run a workflow

sim workflows list --output table

Example table output; timestamps are UTC:

ID                                    NAME           FOLDER      DEPLOYED  RUNS  LAST RUN
3a9e21d8-5f47-4c0b-b2ea-91d7c6034ef8  Refund triage  /Support    yes       412   2026-08-15 14:02:11
b8c0d247-9e13-4a86-97f5-2ad4e1638c09  Weekly digest  /Reporting  no        18    2026-08-11 09:00:04
sim workflows run 3a9e21d8-5f47-4c0b-b2ea-91d7c6034ef8 --input '{"ticketId":"T-4821"}'

Ordinary execution runs the active deployment. Deploy from the workflow builder or with sim workflows deploy <workflowId>. To execute the current saved workflow state, use sim workflows run <workflowId> --manual.

How commands are shaped

Resource commands use this shape:

sim <resource> [sub-resource] <verb> [arguments] [options]
sim workflows list
sim tables rows query tbl_9f3c1a05d4b7426e8c2f0917ab35de64 --limit 50
sim knowledge documents upload 4c1b7f60-2d55-4a3e-9c18-70b6ea2f9d31 ./handbook.pdf

In the installed CLI, commands such as login, whoami, configure, update, and chat run directly under sim. Local setup and maintenance commands are unavailable when Sim runs commands inside Chat; see Configuration. Some resource groups have singular aliases: sim workflow get and sim workflows get are equivalent. knowledge also accepts kb; each group reference lists its aliases.

Find a command

Search by the task you want to complete, then inspect the result's arguments and options:

sim cli search "cancel a workflow run"
sim workflows runs cancel --help

Help is available at every depth:

sim --help
sim tables --help
sim tables rows query --help

What you can do

GroupCapabilities
workflowsBuild, deploy, run, roll back, import, export, and organize workflows
logsInspect runs and recursive traces
tablesQuery and change rows; manage columns, views, imports, and exports
filesUpload, download, share, version, and organize workspace files
knowledgeSearch knowledge bases and manage documents, connectors, and tags
skillsManage skills and their editors
sandboxesConfigure dependencies, managed CLIs, and system packages
mcp-serversConnect external Model Context Protocol (MCP) servers and discover tools
custom-toolsManage custom tool definitions
credentialsConnect, reconnect, and disconnect integration credentials
secretsManage personal and workspace secrets
workspacesManage members, invitations, forks, and workspace sync
organizationsManage organization access, members, usage, domains, and SSO
permission-groupsManage restrictions and group membership
billingInspect plan status and credit usage
audit-logsRead organization audit actions
blocksInspect the block catalog and configuration fields
toolsInspect and execute built-in tools
connector-typesInspect knowledge-base connector types and fields
selectorsDiscover and verify configuration choices
chat-deploymentsList deployed workflow chats
workflow-mcp-serversExpose deployed workflows as MCP tools
metaInspect API availability and credential status

The command overview lists global options and root commands. The complete reference contains every subcommand, argument, and option on one page. Both are generated from the CLI.