async with client.streams.open(session_id=session_id) as stream:
async for event in stream:
if event.type == "transcript.final":
print(event.text)
Websockets
Python SDK — WebSockets
Streaming APIs in Python
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Streaming APIs in Python
async with client.streams.open(session_id=session_id) as stream:
async for event in stream:
if event.type == "transcript.final":
print(event.text)