SDKs

We maintain first-party SDKs for the languages most of our integrators work in. All of them share the same resource names as the HTTP API, handle token refresh, and retry transient errors with exponential backoff.

Official libraries

TypeScript / Node.js

Typed SDK for Node 18+ and modern JS runtimes (Deno, Bun, Cloudflare Workers).

Read more

Python

Async + sync Python client with full type stubs. Python 3.10+.

Read more

Ruby

Idiomatic Ruby client with ActiveSupport + ActiveRecord integration.

Read more

PHP

Modern PHP 8.2+ SDK, PSR-18 compatible.

Read more

Go

Idiomatic Go client with context propagation and structured errors.

Read more

Choosing an SDK

  • Serving traffic from Node, Deno, or the edge? Use the TypeScript SDK. It's tree-shakeable, typed against OpenAPI, and ships with native fetch.
  • Running data pipelines or notebooks? Use the Python SDK. Its async client integrates with httpx and asyncio natively.
  • Experimenting, scripting, or debugging? Use cURL. Every response body shown in the API reference is copy-pasteable into curl | jq.

Community SDKs for Go and Rust are on our radar. Reach out on GitHub Discussions if you'd like to help shape the design or be an early adopter.