D driftstack docs

SDKs

Driftstack ships first-party SDKs for TypeScript, Python, and Go. All SDKs expose identical resource shapes (sessions, profiles, api-keys, webhooks, usage, account, team) generated from the same Zod single source of truth in @driftstack/api-types.

TypeScript

@driftstack/sdk

npm install @driftstack/sdk

Status: published, pre-1.0

Python

driftstack-sdk

pip install driftstack-sdk

Status: alpha; PyPI tag pending

Go

sdk-go

go get github.com/driftstackdev/...

Status: alpha; first tag pending

Get started

  • Installation — install + configure each SDK with working code samples.
  • Quickstart — signup → first session in five minutes.

Reference

  • Versioning policy — how SDKs version independently of the HTTP API, deprecation rules, CHANGELOG conventions.
  • Error handling — typed error hierarchy across TypeScript / Python / Go SDKs; categorical try/catch patterns; retry semantics + cancellation.