input_type transcript when your product already has finished transcript text from your own speech recognition, a scribe workflow, or another upstream system. You still authenticate, create the session, and seed visit context.
Instead of opening /ws/stream or uploading a WAV, you submit the finished text once. When that submit succeeds, Suki starts processing and skips speech recognition. Do not call end session for this flow. Because there is no source audio, recording returns 404. For the shared compare across Ambient and Form filling, refer to Submit a finished transcript and Provide a finished transcript.
Applies to: Ambient APIs.
- Create with
input_typetranscriptbefore you call transcript-input. - Submit once on the shared Submit transcript input endpoint with this Ambient
ambient_session_id. - Do not open
/ws/stream, do not call end session, and do not expect a recording.
transcript flow is:
Prerequisites
- A valid Suki Token for Ambient API requests. Refer to Partner authentication.
- Finished transcript text as one string or as segments with optional word timings.
- An
emr_encounter_idon create when the note must work across modalities. Refer to Interoperable identifiers.
Build the transcript submit flow
Your application should connect create, context, transcript submit, and note retrieval in this order.1
Create the Ambient Session with Transcript Input
Call POST Create ambient session with
input_type set to transcript. Store ambient_session_id and note_id.input_type is fixed for the life of the session. Create a new session if you need stream or audio_file instead.2
Seed Ambient Session Context
Send patient, visit, specialty, and section context the same way you do for a live stream session. Finish context before you submit the transcript when your product needs those fields.Refer to Provide visit context.
3
Submit the Transcript Once
Call POST Submit transcript input with this Ambient
ambient_session_id.Provide raw_text or segments. One of the two is required.4
Wait for Processing, Then Retrieve Outputs
Poll Ambient session status or wait for your webhook. Retrieve content only when status is
completed.Do not expect a recording. Get ambient session recording returns 404 for transcript sessions. Refer to Retrieve ambient content.Handle the session status
After the transcript submit succeeds, the note is not ready yet. Poll status until Suki returns a final outcome, or wait for your configured webhook.
Refer to Track note generation status for the full polling flow.
Complete staging scripts
Use these scripts on staging after you replace partner credentials. Do not call end session. Recording returns 404.- TypeScript
- Python
Ambient transcript
Troubleshooting
Transcript submit usually fails when the session was not created astranscript, when the payload is invalid, or when you submit twice.
ING_SDK_004 Invalid Payload
ING_SDK_004 Invalid Payload
Provide
raw_text or a well-formed segments array. Each segment must include text. If you include word timings, each word’s end_time must be greater than or equal to its start_time, and timings must not overlap across segments.ING_SDK_005 When Submitting the Transcript
ING_SDK_005 When Submitting the Transcript
The session was not created with
input_type transcript. Create a new Ambient session with that value, then submit again.ING_SDK_006 Transcript Already Submitted
ING_SDK_006 Transcript Already Submitted
You can submit the transcript only once per session. Create a new session if you need to send different text.
403 Transcript Modality Is Not Enabled
403 Transcript Modality Is Not Enabled
Transcript submit is disabled for the environment. Contact support if you need the path enabled.
Recording Returns 404
Recording Returns 404
Expected for
transcript sessions. There is no source audio. Retrieve note content instead of the recording.