Skip to main content
sumcli is Summation’s first-party command-line client. It talks to the stable /v1 routes of the Public API and emits agent-friendly JSON, making it the right tool for scripted automation and headless agent workflows.
Building an interactive agent experience? The Claude plugin and MCP server are the easier path. Reach for sumcli when you’re scripting, running in CI, or driving Summation from your own automation.

Install

sumcli installs into its own isolated environment with pipx, so it lands on your PATH without touching any project’s virtualenv. It requires Python 3.11+. Contact your Summation representative for the current install package. Once installed, verify:

Sign in

sumcli stores credentials in profiles in ~/.summation/config. Create a profile, then authenticate.
auth login opens a browser approval — the same device sign-in the plugin uses. No secrets are entered on the command line.

Output for agents and scripts

When stdout isn’t a terminal — piped, captured, or run by an agent — sumcli emits JSON envelopes with contextual next_actions, and NDJSON for streaming commands. At an interactive terminal it renders a human-readable view instead. Force either mode explicitly:
The human view is lossy — wide tables drop columns. Never parse it. Pipe the JSON output through jq for anything scripted.

Common workflows

Load a local CSV into a table

Uploads the file, detects the schema, and materializes a new grid table. Outputs NDJSON ending in importStatus: SUCCESS with the new tbl-... ID.

Inspect, attach, and query

A freshly imported table lives in your workspace grid but isn’t attached to a project yet. Attach it to make it queryable as a project resource:

Ask Addison and generate reports

Long-running commands (chats create, chats reply, reports generate, reports verify, tables import) support --wait / --no-wait, and --follow where applicable.

Working with profiles

Each profile pairs an API host with credentials and session state. Switch the active profile, or select one per command:
Running parallel agents or jobs? Don’t call config use against a shared ~/.summation/config — the switch is global. Instead pass --profile on each command, or set SUMMATION_PROFILE in each subprocess.
Useful config commands:

Configuration reference

sumcli reads settings with field-specific precedence — CLI flags win, then environment variables, then the config file. Identity always comes from the bearer token — sumcli never trusts caller-supplied identity headers. For the underlying endpoints and error conventions, see the Public API.