CLIOverview
CLI commands
Build and operate workspaces from the terminal. Find commands, arguments and options.
Install the CLI
On macOS or Linux, run the installer, then open the built-in help.
Terminal
curl -fsSL https://segmentstream.com/install.sh | sh
segmentstream --helpGlobal options
-V, --version- Show the version and exit.
--organization ORG-ID- Organization for this command
--debug- Show redacted local error causes and stacks
--help- Show this message and exit.
Commands
segmentstream agentInitialize the company agent, inspect action logs, session and chat figures, and run its evals against a previewsegmentstream api-keyManage personal API keys for non-interactive sign-in (CI, automation)segmentstream appDevelop the workspace app and manage its memberssegmentstream assetMaterialize deployed assets without a named jobsegmentstream authDelegate your CLI sign-in to a browsersegmentstream billingManage the active organization's billing and prepaid credits.segmentstream changelogShow what changed in the SDKs that DIRECTORY (default: the current project) pins, from each pin up to the version this CLI's starter pins: first every paragraph that asks the workspace to change (Action required), then the full release notes. Reads the notes this CLI carries; changes nothing.segmentstream connectionInspect, configure, and authorize deployed workspace connectionssegmentstream deployDeploy committed main to the workspace Git repository.segmentstream devRun the app and ontology locally against a private copy of production data.segmentstream doctorCheck, without changing anything, what the CLI needs here: installation, state, proxies and CA settings, identity, organization, the linked project's repository and Git. Exits 1 when a check fails.segmentstream domainConnect domains you own (via Domain Connect when available) or buy managed domains.segmentstream eventsInspect and manage deployed event streamssegmentstream execRun a local command with selected HTTP connectionssegmentstream initWrite a starter project into DIRECTORY (new or empty). Needs no sign-in and does not create or link a workspace.segmentstream jobInspect and run deployed pipeline jobssegmentstream lineageInspect production asset lineagesegmentstream linkLink DIRECTORY (default: the current project) to an existing workspace or to a new one. Without --workspace, choose interactively.segmentstream loginSign in in the browser; keep this process runningsegmentstream logoutRemove the local session and sign out in the browsersegmentstream logsRead the workspace application's logs.segmentstream oauth-appManage Sign in with SegmentStream for a workspacesegmentstream ontologyManage the deployed ontology: API keys for services such as the website, and agents' access over MCP; read and answer the feedback the app's members send; inspect entities and query their metrics; see the latency and load of each operationsegmentstream orgManage the active organizationsegmentstream previewsInspect and delete workspace app previewssegmentstream runInspect and terminate pipeline runs, logs, and failuressegmentstream scheduleInspect, pause, and resume job schedules declared with s.schedulesegmentstream secretCreate, rotate, inspect, and delete workspace secretssegmentstream selfManage this SegmentStream CLI itself. Commands about a project, such as `segmentstream upgrade`, live at the top level.segmentstream statusShow whether committed main is live in the linked workspace.segmentstream telegram-botFinish a Telegram bot SegmentStream creates for a connection or the agent; `agent init --create-bot` and `connection authorize` start onesegmentstream unlinkRemove the workspace link from this projectsegmentstream upgradeUpgrade the project in DIRECTORY (default: the current project) to what this CLI knows. Pins each SDK the project pins at an older release to the newest one this CLI knows: @segmentstream packages in ontology/, app/ and agent/ with npm, the connections and pipeline SDKs in the Python projects with uv, after listing what the releases in between ask the workspace to change. Updates the agent docs, skills and AGENTS.md instructions (Git merges the starter's changes into files with local edits, and leaves conflicts in .segmentstream/sync/), then runs the ontology's check, showing its output when it fails and its warnings when it passes. Changes local files only: review the diff, make the changes the releases ask for, commit and deploy.segmentstream uvRun the bundled uv package and Python project managersegmentstream warehouseBrowse and query workspace data warehouse datasets, tables, and previewssegmentstream whoamiShow the current SegmentStream identitysegmentstream workflowInspect, start, and follow the runs of workflows declared in ontology/workflows/segmentstream workspaceCreate, inspect, and manage workspaces