input_type set to transcript when your application already has a completed transcript from an external speech recognition service, scribe workflow, or another upstream system.
First, authenticate, create a Form filling session, and provide at least one template or partner schema.
Then, submit the completed transcript once to the shared transcript-input endpoint using your Form filling ambient_session_id. You do not need to open /ws/stream or upload a WAV file. Suki processes the submitted text directly and skips speech recognition.
Important:
- Do not call the end session endpoint for this flow.
- Recording is unavailable because no source audio is provided. Requests to retrieve the recording return 404.
Applies to: Form filling APIs.
- Create with
input_typetranscriptbefore you call transcript-input. - Seed at least one form in
form_filling.valuesbefore processing starts. - Submit once on the shared Submit transcript input endpoint with this Form filling
ambient_session_id. - Do not open
/ws/stream, do not call end session, and do not expect a recording.
Both Form filling and Ambient clinical note sessions use the parameter name
ambient_session_id. Those identifiers refer to different sessions. Use only the ID returned from Form filling Create Form filling session for Form filling REST calls and for the shared transcript-input endpoint.transcript flow is:
Prerequisites
- A valid Suki Token. Refer to Partner authentication and Form filling authentication.
- Finished transcript text as one string or as segments with optional word timings.
- At least one Form filling template ID or partner schema to seed before processing starts.
Build the transcript submit flow
Your application should connect create, form context, transcript submit, and structured-data retrieval in this order.1
Create the Form Filling Session with Transcript Input
Call POST Create Form filling session with
input_type set to transcript. Store the returned ambient_session_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 Form Filling Session Context
Seed at least one template or partner schema before processing starts. Each object in Refer to Form filling basic usage and Seed Form filling with a Suki template.
form_filling.values must use exactly one of form_template_id or schema.3
Submit the Transcript Once
Call POST Submit transcript input with the Form filling session id from create.Provide
raw_text or segments. One of the two is required.4
Wait for Processing, Then Retrieve Structured Data
Poll Form filling session status or wait for your webhook. Then retrieve structured data when status is
completed.Do not expect a recording. Recording returns 404 for transcript sessions.Handle the session status
After the transcript submit succeeds, structured form output is not ready yet. Poll Form filling status until Suki returns a final outcome, or wait for your configured webhook.Complete staging scripts
Use these scripts on staging after you replace partner credentials and set a realFORM_TEMPLATE_ID. Do not call end session. Do not reuse an Ambient clinical-note session id. Recording returns 404.
- TypeScript
- Python
Form filling transcript
Troubleshooting
Transcript submit usually fails when the session was not created astranscript, when form context is missing, 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 Form filling 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.
No Structured Form Output
No Structured Form Output
Seed at least one
form_template_id or partner schema in form_filling.values before the submit succeeds. Empty context does not produce filled forms.Recording Returns 404
Recording Returns 404
Expected for
transcript sessions. There is no source audio. Retrieve structured data instead of the recording.