- Ambient
- Dictation
Prerequisites
- You already streamed audio on Ambient
/ws/streamor Dictation/ws/transcribefor an active session. - A valid Suki Token. See Partner authentication.
- For Ambient: readiness to send
RU9G, close the socket, call End, then poll status and retrieve content.
Complete the session after streaming audio
After sending the finalRU9G message, close the WebSocket connection and complete the ambient session with REST.1
Close the WebSocket Connection
Close the WebSocket connection from the client when you are done sending audio for that segment.
2
End the Session Using REST
End the session using End ambient session API.
3
Retrieve Results Using REST
Poll session status and fetch transcript and structured data using these REST APIs:
Final transcripts and notes are not guaranteed to arrive over WebSocket. Treat REST APIs as the source of truth.