// DEVELOPERS/Reference/SDKs

SDKs

Typed clients for TypeScript, Python, and Go. Generated from the OpenAPI spec on every release.

LanguagePackageRuntime
TypeScript@allo/sdkNode 18+, Edge runtimes, Bun
PythonalloPython 3.10+, async via httpx
Gogithub.com/allo-io/allo-goGo 1.21+, context aware

TypeScript

// installShell
npm install @allo/sdk
// example.tsTypeScript
import { Allo } from "@allo/sdk"

const allo = new Allo({ apiKey: process.env.ALLO_KEY! })

const p = await allo.projects.get("prj_8Gh2x4nQ")
console.log(p.title, p.status)

Python

// example.pyPython
from allo import Allo

allo = Allo(api_key=os.environ["ALLO_KEY"])
for p in allo.projects.list(limit=50):
    print(p.id, p.title)

Go

// example.goGo
import "github.com/allo-io/allo-go"

client := allo.New(allo.WithKey(os.Getenv("ALLO_KEY")))
p, err := client.Projects.Get(ctx, "prj_8Gh2x4nQ")

Versioning

  • SDKs follow semver. Breaking changes only on major versions.
  • Each SDK release pins a default X-API-Version. Override per request if needed.
  • A 12 month deprecation window applies to every breaking API change.
// NOTE
SDK source is on GitHub at github.com/allo-io. Issues and PRs welcome.