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.