Skip to main content
The s2 CLI provides access to the full S2 API — managing basins, streams, access tokens, and reading/writing records — plus utilities like benchmarking, an interactive TUI mode, and s2-lite.

S2 URIs

Most commands that operate on a stream take an S2 URI of the form:
For example: s2://my-basin/my-stream. The ls command also accepts a URI with just a basin and optional prefix for listing streams: s2://my-basin/prefix.