Skip to main content
@kataven/server is the server-side TypeScript client. It mirrors the Python SDK feature-for-feature and shares the same OpenAPI spec as its source of truth.
This is the server SDK — for managing agents, tools, telephony, campaigns, etc. from your backend. For the browser widget that talks to your agents via WebRTC, see @kataven/client. The two are separate packages targeting separate runtimes.

Install

Quickstart

Environment variables

The client falls back to env vars if not passed explicitly:

Resources

Same set as the Python SDK — see the Python overview for the full table. Resource names are camelCase in TS:
API key (sk_live_) management is deliberately not in the SDK. A leaked sk_live_ shouldn’t be able to mint another sk_live_; the server returns 403 Forbidden on those operations for sk_live_ callers. Manage keys at Hub UI → Settings → API Keys. Other operations intentionally not in the SDK (admin / dashboard-only): client.config, client.settings, client.spokes, client.users, client.accounts, client.apiKeys, recordings.delete, callLimits.update, marketplace.createTemplate, integrations.create.

Errors