@wazoo/client is the primary TypeScript SDK for the
Wazoo Platform API. It provides a typed interface for managing
your Wazoo infrastructure: provisioning Worlds, managing API tokens (wzp_ and
wzw_), and tracking resource usage and billing.
Install
Quickstart
wzp_ prefix.
Worlds
world.id is the immutable w_<ULID> ID minted by the Worlds API. Reuse it
unchanged as the worldId path value.
Creating a platform world provisions per-World graph storage. Use
data.wazoo.dev, the generated @worlds/client, or the
embedded @worlds/sdk for graph data operations inside that
world. See Platform API for the hosted
architecture.
Platform API tokens
World auth tokens
World data-plane tokens use thewzw_ prefix. They are scoped to a single
namespace and optionally a single world.
Usage and limits
Billing
Custom client configuration
By default, SDK functions automatically use the built-in client. You can configure global defaults or create isolated custom client instances:Error handling
The SDK returns a discriminated union by default:throwOnError: true on the client for exception-based handling.
Runtime
The SDK is a fetch-based ESM package published on JSR. It runs in any modern JavaScript runtime that providesfetch: Node.js, Cloudflare Workers, Deno,
Bun, and browsers.