CLI

Run read-only SQL from the CLI

segmentstream warehouse query runs read-only SQL against your workspace warehouse and prints or exports the result.

You or your coding agent can now query your warehouse from the CLI:

segmentstream warehouse query --sql 'SELECT channel, COUNT(*) AS orders FROM gold.orders GROUP BY 1'

Queries are read-only. Results can be paged, written to CSV, or checked first with a dry run, so your coding agent can look at real data before it builds a report.

Build on SegmentStream.

Start a pilot

Our engineers build the first version on your data in two weeks, at a fixed price.

Or build it yourself with your coding agent:

curl -fsSL https://segmentstream.com/install.sh | sh

We’ll email you product updates, tips and onboarding help. Unsubscribe anytime.