S2 provides SDKs across several languages to simplify working with our core APIs. While the REST API can be used directly from any HTTP client, the SDKs provide higher-level abstractions (like the Producer API), retry and error handling logic, rich types, and more performant streaming sessions.Documentation Index
Fetch the complete documentation index at: https://s2.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
SDKs
| Language | Repo | Docs | API |
|---|---|---|---|
| TypeScript | s2-sdk-typescript | typedoc | v1 |
| Python | s2-sdk-python | readthedocs | v1 |
| Go | s2-sdk-go | pkg.go.dev | v1 |
| Rust | s2/sdk | docs.rs | v1 |
Getting Started
Every SDK follows the same pattern: create a client with an access token, then navigate to basins and streams hierarchically. Every SDK operation has a simple single-request form. Appends and reads also support sessions, which keep a connection open for pipelined writes or streaming records.- TypeScript
- Python
- Go
- Rust

