Skip to main content

API Reference

Complete reference documentation for all Estuary SDK components, interfaces, and types.

Overview

The Estuary SDK is organized into several layers:

LayerComponentsDescription
CoreEstuaryClient, EstuaryConfig, ConnectionStateLow-level WebSocket communication
ComponentsEstuaryManager, EstuaryCharacter, EstuaryCredentials, EstuaryMicrophoneHigh-level API for building experiences
ActionsEstuaryActionManager, EstuaryActions, ParsedActionAction parsing and event dispatch
ModelsSessionInfo, BotResponse, BotVoice, SttResponseData structures
UtilitiesAudioConverter, setInternetModuleHelper functions

Quick Navigation

Import Pattern

All SDK exports can be imported from the main module:

import {
// Core
EstuaryClient,
EstuaryConfig,
ConnectionState,

// Components
EstuaryManager,
EstuaryCharacter,
EstuaryCredentials,
EstuaryMicrophone,

// Actions
EstuaryActionManager,
EstuaryActions,
ParsedAction,

// Models
SessionInfo,
BotResponse,
BotVoice,
SttResponse,

// Utilities
floatToPCM16,
setInternetModule,
} from 'estuary-lens-studio-sdk';