# LansonAI Docs > Developer documentation for LansonAI's real-time and recorded speech APIs. ## Documentation Sets - [LansonAI Docs - Full Documentation](https://docs.lansonai.com//llms-full.txt): The complete developer documentation for LansonAI's Voice Context Layer API. ## Start - [Overview](https://docs.lansonai.com/raw/start.md): LansonAI is the Voice Context Layer for live speech. - [Quickstart](https://docs.lansonai.com/raw/start/quickstart.md): Get from zero to your first transcription request in five minutes. - [Authentication](https://docs.lansonai.com/raw/start/authentication.md): API key, session token, and browser-side security. - [SDKs](https://docs.lansonai.com/raw/start/sdks.md): Python, TypeScript/JavaScript SDK; installation, versions, GitHub. - [Choose an API](https://docs.lansonai.com/raw/start/choose-an-api.md): Realtime Voice Context, Recorded Audio, and Voice Agent — when to use which. ## Realtime - [Realtime Overview](https://docs.lansonai.com/raw/realtime.md): What the Realtime API does, input, output, and architecture. - [Realtime Quickstart](https://docs.lansonai.com/raw/realtime/quickstart.md): Minimal runnable WebSocket examples. - [Connection Lifecycle](https://docs.lansonai.com/raw/realtime/connection-lifecycle.md): Connect → configure → stream audio → receive events → close/reconnect. - [Audio Input](https://docs.lansonai.com/raw/realtime/audio-input.md): PCM format, sample rate, channels, chunk size, and latency tradeoffs. - [Transcript Lifecycle](https://docs.lansonai.com/raw/realtime/transcript-lifecycle.md): Speech segment states and event transitions. - [Realtime Translation](https://docs.lansonai.com/raw/realtime/realtime-translation.md): Source and translated text correspondence, language config, switching, latency. - [Session Configuration](https://docs.lansonai.com/raw/realtime/session-configuration.md): language, prompt, VAD, and other session-level options. - [Handling Interruptions & Silence](https://docs.lansonai.com/raw/realtime/interruptions-silence.md): Silence, pauses, VAD end-of-speech behavior, and connection keepalive. ## Recorded - [Recorded Overview](https://docs.lansonai.com/raw/recorded.md): Recorded vs. Realtime; when to use which. - [Transcribe Audio](https://docs.lansonai.com/raw/recorded/transcribe-audio.md): Submit an audio file or URL for transcription. - [Timestamps & Speakers](https://docs.lansonai.com/raw/recorded/timestamps-speakers.md): Segment timestamps, confidence, and speaker information. - [Subtitles](https://docs.lansonai.com/raw/recorded/subtitles.md): Generate SRT / VTT subtitle files from transcription results. - [Recorded Translation](https://docs.lansonai.com/raw/recorded/translation.md): File-level translation for recorded audio. - [Structured Results](https://docs.lansonai.com/raw/recorded/structured-results.md): Recorded Speech can return structured outputs alongside the transcript. ## Concepts - [Voice Context Layer](https://docs.lansonai.com/raw/concepts.md): A Voice Context Layer sits between live speech recognition and the application that consumes it. - [Stable vs. Partial Text](https://docs.lansonai.com/raw/concepts/stable-vs-partial-text.md): Live transcription is inherently provisional. Understanding the distinction between partial and stable text is essential for building live speech interfaces. - [StableStream](https://docs.lansonai.com/raw/concepts/stablestream.md): LansonAI's approach to maintaining readable continuity while live speech continues to evolve. - [Context-Aware Processing](https://docs.lansonai.com/raw/concepts/context-aware-processing.md): Speech is ambiguous when interpreted in isolation. Context is part of recognition, not a post-processing step. - [Understanding Latency](https://docs.lansonai.com/raw/concepts/latency.md): There is no single latency number for a live speech system. What users experience as latency is the result of several different stages. - [Live Translation](https://docs.lansonai.com/raw/concepts/live-translation.md): Live translation is different from translating a finished transcript. It must balance responsiveness, linguistic context, translation quality, and stability. - [Trinity Engine](https://docs.lansonai.com/raw/concepts/trinity-engine.md): The shared processing foundation behind LansonAI's real-time voice capabilities. ## Guides - [Browser Live Captions](https://docs.lansonai.com/raw/guides.md): Browser microphone → Lanson → caption UI. - [Server-side Streaming](https://docs.lansonai.com/raw/guides/server-side-streaming.md): Backend pushes an audio stream to LansonAI. - [Build a Stable Caption UI](https://docs.lansonai.com/raw/guides/stable-caption-ui.md): Consume StableStream events without manufacturing caption jitter. - [Build Live Translation](https://docs.lansonai.com/raw/guides/live-translation.md): Bilingual / translated caption UI. - [Save a Transcript](https://docs.lansonai.com/raw/guides/save-transcript.md): Persist the complete transcript after a session ends. - [Reconnect a Live Session](https://docs.lansonai.com/raw/guides/reconnection.md): Network disconnect, retry, and resume design. ## Reference - [API Reference Overview](https://docs.lansonai.com/raw/api-reference.md): Base URL, REST/WebSocket endpoints, versioning. - [Realtime API](https://docs.lansonai.com/raw/api-reference/realtime-api.md): WebSocket endpoint for streaming transcription. - [Client Messages](https://docs.lansonai.com/raw/api-reference/client-messages.md): All client → Lanson messages sent over WebSocket. - [Server Events](https://docs.lansonai.com/raw/api-reference/server-events.md): All Lanson → client events pushed over WebSocket. - [Transcription API](https://docs.lansonai.com/raw/api-reference/transcription.md): Recorded (offline) transcription endpoint. - [Languages & Models](https://docs.lansonai.com/raw/api-reference/languages.md): Supported language and model identifiers. - [Errors](https://docs.lansonai.com/raw/api-reference/errors.md): HTTP status codes, WebSocket error events, and error payload formats. - [Rate Limits](https://docs.lansonai.com/raw/api-reference/rate-limits.md): Connection, request, session, and audio quotas by plan. - [Admin API](https://docs.lansonai.com/raw/api-reference/admin.md): Internal key management and plan catalog endpoints. ## Production - [Production Checklist](https://docs.lansonai.com/raw/production.md): What to check before going to production. - [Reconnection & Retries](https://docs.lansonai.com/raw/production/reconnection-retries.md): WebSocket disconnects, 429, 5xx, backoff. - [Latency Best Practices](https://docs.lansonai.com/raw/production/latency-best-practices.md): Audio chunks, connection reuse, and region placement. - [Security & Privacy](https://docs.lansonai.com/raw/production/security-privacy.md): Data handling, API key security, retention. - [Data Retention](https://docs.lansonai.com/raw/production/data-retention.md): Audio / transcript storage, duration, deletion. - [Changelog](https://docs.lansonai.com/raw/production/changelog.md): API-breaking changes, new fields, deprecations.