SDKs

Official SDKs for TypeScript and Python

Fully typed clients that mirror the REST API — create jobs, stream chat, and handle webhooks with a few lines of code.

Languages

npm

@foundry/sdk

TypeScript-first client with full types and streaming.

pip

foundry-sdk

Pythonic client with async support and retries.

Community

Go & Ruby

Community-maintained clients generated from OpenAPI.

What you get

  • -Typed request and response models
  • -Automatic retries with backoff
  • -Streaming chat responses
  • -Webhook signature verification helpers
  • -Environment-scoped API keys
  • -First-class error types

Start building

Grab a key and install the SDK for your stack.

Open dashboard