When to use transcript as an input type
Choosetranscript as an input_type when:
- Your application already has the finished transcript for the patient-provider conversation.
- You want Suki to generate an Ambient note or Form filling output from the existing text.
- You do not need Suki to perform speech recognition on the session’s audio.
stream: Capture live encounter audio through a WebSocket connection.audio_file: Upload a previously recorded WAV file for processing.
How transcript input works
Transcript input uses a single-submit workflow. Unlike live audio streaming, you do not establish an audio connection or explicitly end the session.1
Create a Session
Create an Ambient or Form filling session with
input_type set to transcript.2
Provide Session Context
Include the context required by your workflow, such as patient information, Ambient sections, Form filling template IDs, or partner schemas.
3
Submit the Transcript
Send the finished conversation text using
raw_text or segments.4
Wait for Processing
Suki starts processing after accepting the transcript. Poll the session status or use a webhook to track progress.
5
Retrieve the Result
Retrieve the clinical note or structured form data after processing completes.
- Suki processes the submitted text without running speech recognition.
- You do not need to call the end-session endpoint.
- You do not need to establish a connection to
/ws/stream. - There is no source audio to retrieve. Recording retrieval returns 404.
Endpoint and session ID
Ambient and Form filling use the same transcript-input endpoint under/api/v1/ambient/.... Pass the session ID returned when creating the corresponding session. Use the Ambient session ID for Ambient workflows and the Form filling session ID for Form filling workflows.
What to include in the transcript request
The transcript-input request accepts eitherraw_text or segments. You must provide one of them.
Raw text field
Useraw_text when you have the complete conversation as a single text string.
This is the simplest option when your upstream system produces a finished transcript without requiring separate speaker labels or word-level timings.
Segments
Usesegments when your upstream system provides the transcript as separate, ordered pieces of text.
Segments can include speaker labels and word timings when that information is available from your upstream system.
When including word timings, follow these rules:
- Each word’s end time must be greater than or equal to its start time.
- Timings must not overlap across segments.
What happens after submission
Once Suki accepts the transcript, it starts processing the text. The output depends on the type of session you created.
Use the session status endpoint or webhook notifications to determine when processing is complete. Retrieve the output using the retrieval flow for the corresponding product.
The webhook notification structure remains unchanged. The resources returned by the
_links values still depend on the output generated by the session.
Known limitations
Keep the following limitations in mind when implementing transcript as an input type:See all limitations
See all limitations
- One transcript submission per session: You can submit a transcript only once. A second submission fails. Create a new session if you need to submit another transcript.
- No audio uploads: Do not upload a WAV file to a session created with
input_type: "transcript". Create a separate session withinput_type: "audio_file"if you need to submit audio. - No audio streaming: Do not open a WebSocket connection to
/ws/streamfor a transcript session. - No end-session call: Do not call the end-session endpoint after submitting the transcript. Submission starts processing.
- No recording retrieval: Transcript sessions do not contain source audio. Recording retrieval returns 404.
- API-only support: Transcript input is currently supported through the Partner APIs. The Web SDK, Mobile SDK, Headless Web SDK, and Form filling SDK continue to capture live audio.
Differences for transcript as an input type for Ambient and Form filling
Both products use the same transcript submission contract: create a session withinput_type: "transcript" and submit the transcript through the shared endpoint.
The differences are in session creation, the context you provide, and the output you retrieve.
Next steps
Submit an Ambient finished transcript - Create an Ambient session, submit the transcript, and retrieve the generated note. Submit a Form filling finished transcript - Create a Form filling session, submit the transcript, and retrieve structured form data. Submit transcript input - Request schema,raw_text, segments, and endpoint errors.
Session input types - Compare live streaming, WAV uploads, and finished transcript input.