Skip to main content
The Burki JavaScript SDK is written in TypeScript and provides full type definitions for all models and methods. It works seamlessly in Node.js and browser environments.

Installation

Or with yarn:
Requirements: Node.js 18+ or modern browser

Quick Start


Configuration

Basic Configuration

Custom Base URL

Timeout Settings

Using Environment Variables


Resources

The JavaScript SDK provides the most comprehensive assistant management API.

List Assistants

Get an Assistant

Create an Assistant

Update an Assistant

Quick Status Update

Delete an Assistant

Additional Methods


Real-time Streaming

The JavaScript SDK uses async iterators for WebSocket streaming.

Live Transcript Streaming

Campaign Progress Streaming

Connection Management


TypeScript Support

The SDK provides full type definitions for all models and methods:

Error Handling

The SDK provides typed exceptions for different error scenarios:

Exception Types


Complete Example

Here’s a complete example demonstrating the SDK’s capabilities:

Next Steps

Python SDK

Check out the Python SDK

Go SDK

Idiomatic Go SDK with channels

Real-time Streaming

Deep dive into WebSocket streaming

API Reference

Complete REST API documentation