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 --versionTo run a command without a global installation:
bunx sim --helpThe 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 loginLocal 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-browserApprove 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 whoamiThis 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 tableExample 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:04sim 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.pdfIn 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 --helpHelp is available at every depth:
sim --help
sim tables --help
sim tables rows query --helpWhat you can do
| Group | Capabilities |
|---|---|
workflows | Build, deploy, run, roll back, import, export, and organize workflows |
logs | Inspect runs and recursive traces |
tables | Query and change rows; manage columns, views, imports, and exports |
files | Upload, download, share, version, and organize workspace files |
knowledge | Search knowledge bases and manage documents, connectors, and tags |
skills | Manage skills and their editors |
sandboxes | Configure dependencies, managed CLIs, and system packages |
mcp-servers | Connect external Model Context Protocol (MCP) servers and discover tools |
custom-tools | Manage custom tool definitions |
credentials | Connect, reconnect, and disconnect integration credentials |
secrets | Manage personal and workspace secrets |
workspaces | Manage members, invitations, forks, and workspace sync |
organizations | Manage organization access, members, usage, domains, and SSO |
permission-groups | Manage restrictions and group membership |
billing | Inspect plan status and credit usage |
audit-logs | Read organization audit actions |
blocks | Inspect the block catalog and configuration fields |
tools | Inspect and execute built-in tools |
connector-types | Inspect knowledge-base connector types and fields |
selectors | Discover and verify configuration choices |
chat-deployments | List deployed workflow chats |
workflow-mcp-servers | Expose deployed workflows as MCP tools |
meta | Inspect 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.