*** title: Full Transcript description: Get cumulative transcript from real-time WebSocket API ------------------------------------------------------------------- Real-Time The Full Transcript feature provides a cumulative transcript that accumulates all transcription text received up to the current point in the session. This is useful for maintaining a complete transcript of the entire conversation or audio stream. ## Enabling Full Transcript Add `full_transcript=true` to your WebSocket connection query parameters when connecting to the Pulse STT WebSocket API. The default is `false`. ### Real-Time WebSocket API ```javascript const url = new URL("wss://waves-api.smallest.ai/api/v1/pulse/get_text"); url.searchParams.append("language", "en"); url.searchParams.append("encoding", "linear16"); url.searchParams.append("sample_rate", "16000"); url.searchParams.append("full_transcript", "true"); const ws = new WebSocket(url.toString(), { headers: { Authorization: `Bearer ${API_KEY}`, }, }); ``` ## Output Format & Field of Interest The `full_transcript` field contains the complete transcription text accumulated from the beginning of the session. This field is only included in responses where `full_transcript=true` query parameter is set AND `is_final=true`, ensuring you receive the complete transcript only when a segment is finalized. ## Sample Response ```json { "session_id": "sess_12345abcde", "transcript": "How are you doing today?", "is_final": true, "is_last": false, "full_transcript": "Hello, my name is John. How are you doing today?", "language": "en", "languages": ["en"] } ``` ## Response Fields
Field Type When Included Description
`full_transcript` string `full_transcript=true` AND `is_final=true` Complete transcription text accumulated from the start of the session
`transcript` string Always Partial or complete transcription text for the current segment
`is_final` boolean Always Indicates if this is the final transcription for the current segment