API Reference Overview

Base URL, REST/WebSocket endpoints, versioning.

API Reference — Overview

Base URL

https://audio.lansonai.com

All relative paths in this reference are relative to this domain.

Endpoints

EndpointMethodPurposeAuth
/v1/audio/transcriptions/streamWSRealtime streaming transcriptionBearer sk-... or rt_... session token
/v1/audio/transcriptionsPOSTSubmit offline transcription jobBearer sk-...
/{workflowId}GETPoll transcription job statusBearer sk-...
/v1/audio/transcriptions/session-tokenPOSTIssue short-lived browser WebSocket tokenBearer sk-...
/healthGETLiveness checkPublic
/readyzGETRealtime readiness checkPublic
/openapi.jsonGETOpenAPI specificationPublic
/docsGETSwagger UIPublic

Versioning

The current version uses the /v1/... path prefix. Future breaking changes will use /v2/...; /v1/ will remain supported during a reasonable transition period.

Authentication

All transcription endpoints require an API key via Authorization: Bearer sk-.... See Authentication for browser-side session token flow.

Page layout

Each endpoint page follows a consistent template:

  • What it does — functional description
  • Endpoint — URL and method
  • Authentication — auth requirements
  • Request — request format
  • Parameters — parameter reference
  • Example — code example
  • Response — response format
  • Errors — relevant error codes
  • Related — links to guides and concepts
Reference pages are for field facts This section does not contain product narratives or tutorials. For concepts, see Concepts. For integration guides, see Guides.