AssemblyAI Docs home page
Search...
⌘K
Ask AI
Support
Get Started
Get Started
Search...
Navigation
streaming
Streaming Speech-to-Text
Home
Documentation
Cookbooks
Speech-to-Text
LeMUR - LLMs for speech
Audio Intelligence
API Reference
Integrations
Concepts
Changelog
Blog
Playground
Api Reference
Overview
Files
POST
Upload a media file
transcript
POST
Transcribe audio
GET
Get transcript
GET
Get sentences in transcript
GET
Get paragraphs in transcript
GET
Get subtitles for transcript
GET
Get redacted audio
GET
Search words in transcript
GET
List transcripts
DEL
Delete transcript
LeMUR
POST
Run a task using LeMUR
POST
Summarize a transcript using LeMUR
POST
Ask questions using LeMUR
POST
Extract action items
GET
Retrieve LeMUR response
DEL
Purge LeMUR request data
streaming
POST
Create temporary authentication token for Streaming STT
GET
Streaming Speech-to-Text
Streaming Speech-to-Text
cURL
Copy
Ask AI
curl
--request
GET
\
--url
wss://api.assemblyai.com/v2/realtime/ws
Messages
Messages
Messages
Messages
Copy
Ask AI
UklGRtjIAABXQVZFZ
streaming
Streaming Speech-to-Text
GET
/
v2
/
realtime
/
ws
Try it
Streaming Speech-to-Text
cURL
Copy
Ask AI
curl
--request
GET
\
--url
wss://api.assemblyai.com/v2/realtime/ws
Messages
Messages
Messages
Messages
Copy
Ask AI
UklGRtjIAABXQVZFZ
Authentication
string
Authentication string for the request.
sample_rate
integer
required
The sample rate of the streamed audio.
word_boost
string
Add up to 2500 characters of custom vocabulary. The parameter value must be a JSON encoded array of strings. The JSON must be URL encoded like other query string parameters.
encoding
enum
default:
"pcm_s16le"
The encoding of the audio data. Allowed values:
pcm_s16le pcm_mulaw
token
string
Authenticate using a generated temporary token.
disable_partial_transcripts
boolean
default:
"false"
Set to true to not receive partial transcripts.
enable_extra_session_information
boolean
default:
"false"
Set to true to receive the SessionInformation message before the session ends.
Messages
Messages
Messages
Messages
Copy
Ask AI
UklGRtjIAABXQVZFZ
Create temporary authentication token for Streaming STT
Assistant
Responses are generated using AI and may contain mistakes.