Choose an SDK
TypeScript
Use the fetch-only client and
defineWorker contract in Bun, Node.js, and edge runtimes.Rust
Use streaming Arrow reads and writes, exact table definitions, commit following, and the native worker trait.
Shared capabilities
Endpoint model
The SDK separates three destinations:- The Verglas endpoint handles query and logical write execution.
- The Iceberg REST catalog handles table metadata and table creation.
- The S3-compatible cache endpoint handles object bytes.
Authentication
Do not hard-code a token. Workers receive a connected client and secret bindings through their context. Standalone applications readVERGLAS_ENDPOINT and VERGLAS_TOKEN from their environment.
verglas login manages tenant resources. A worker runtime receives a separate, scoped data-plane token for its table grants.