@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
worlds-api.wazoo.dev or @worlds/client for graph data
operations inside that world.
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.