Installation
Initialization
Text-to-Speech
Basic TTS
Speech-to-Text
Transcribe Audio
With Context Refinement
Supply a context string to enable server-side LLM polishing — proper nouns, filler removal, and punctuation are cleaned on the response text:
Omit context entirely to skip refinement. Note: this is the REST shape — the WebSocket streaming endpoint takes a {general, text, terms} object instead.
Get Supported Languages
Voice Management
List All Voices
Get Specific Voice
Create Custom Voice
Update Voice
Delete Voice
Music
Create a Song
Wait for Completion
Download Song
Judge
Scores content against a rubric you define, and parses conversational turns.
A classifier, not a generator — every answer is a probability distribution over
your options, so results are comparable and sortable.
Authenticated with the same 60db API key as the rest of the SDK — the client
you already constructed works; there is no separate Judge credential.
Evaluate content
Under 0.85 is the upstream’s own escalation line — route those to a person
rather than trusting them.
Save a rubric and re-run it
Runs of a saved rubric file themselves under it, so
runs.list({ rubric_id }) returns the whole series.
start/end are Unicode code point offsets, not UTF-16 indices. Slice
with Array.from(text).slice(start, end).join('') — a plain text.slice()
lands in the wrong place once the turn contains an emoji.
The review queue
Models and spend
Pricing
Billed per input token. The upstream re-encodes the shared content once per
question, so a 10-question rubric costs ten times the transcript. Context is
200,000 tokens per question, and an over-long request is rejected with a 400
before anything is charged (in practice the 512 KiB whole-request cap binds first).
A failed run — 429 busy, 503 unavailable, 400 invalid rubric — is
refunded automatically.
Dialer
Check Status
Buy a Number
List Calls
Get Recording
Authentication
Sign Up
Sign In
Get Profile
Update Profile
Workspace Management
List Workspaces
Create Workspace
Billing
Get Available Plans
Get Current Plan
Subscribe to Plan
Analytics
Get Usage Statistics
API Key Management
List API Keys
Create API Key
Delete API Key
Webhooks
List Webhooks
Create Webhook
Delete Webhook
Error Handling
TypeScript Types
The SDK includes full TypeScript type definitions: