> ## Documentation Index
> Fetch the complete documentation index at: https://developer.suki.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Session Input Types Overview

> Choose stream, audio_file, or transcript when you create an Ambient or Form filling session

Quick summary

Most Ambient and Form filling integrations stream live audio while the clinician is with the patient. That is still the default.

When your application already has a WAV recording or finished transcript text, set optional `input_type` on create so you can upload the file or submit the text instead of re-recording the visit. After processing starts, status, webhooks, and retrieve calls stay the same.

Last updated:
November 2026

> [!NOTE]
>
> **Session input types are supported by:** Ambient APIs, Form filling APIs

Most Ambient and Form filling integrations capture the patient-provider conversation in real time. Your application opens a Partner WebSocket connection, streams audio during the encounter, and ends the session when the conversation is complete. Suki then processes the audio to generate the clinical note or populate the requested forms.

However, live audio streaming is not the only way to provide conversation data. Some applications already have the conversation available before they create a Suki session.

For example, a telehealth platform may store a completed call as a WAV file, or a telephony system may archive recorded conversations for later processing. In these workflows, your application can submit the existing recording directly to Suki without capturing or streaming the conversation again.

To support these different workflows, Suki provides three session input types: `stream`, `audio_file`, and `transcript`. Each input type defines how your application provides the conversation to Suki, depending on whether you have live audio, a previously recorded WAV file, or finished transcript text.

## When to choose an input type

When you create an Ambient or Form filling session, **`input_type`** tells Suki how you will send that conversation:

| What you already have | Set `input_type` to | What you do next |
| :- | :- | :- |
| Live conversation in your product | `stream` (or omit the field) | Stream audio on `/ws/stream`, then end the session |
| A WAV recording | `audio_file` | Get an upload URL, PUT one WAV, and do not call end session |
| Finished transcript text | `transcript` | Submit the text once, and do not call end session |

> [!NOTE]
>
> The session workflow remains the same, regardless of how you provide the conversation.
>
> * Authenticate, create the session and set the session context as usual.
> * Submit the conversation using your chosen input method.
> * Once processing begins, track its progress by polling the session status endpoint or receiving a webhook.
> * When processing is complete, use the existing GET endpoints to retrieve the note, transcript, structured data, or Form filling results.

## How the options compare

![Flowchart: Yes, No, stream, audio\_file, transcript, Create session with optional input\_type, Seed context?, POST session context, input\_type, Stream audio on /ws/stream, POST end session, GET file-uploadurl, PUT one WAV, POST transcript-input, AI processing, Webhook configured?, Receive notification, Poll session status, Retrieve content.](https://mintcdn.com/suki-1e08f176/2alKwHF78RZ2kYOV/documentation/assets/diagrams/concepts-ambient-clinical-notes-session-input-types-1-light.svg?fit=max\&auto=format\&n=2alKwHF78RZ2kYOV\&q=85\&s=061d3e6a0eefc1ee6209a515892a3eb5)

```mermaid actions={false} theme={"theme":{"light":"one-light","dark":"material-theme-darker"}}
flowchart TD
    Create[Create session with optional input_type] --> Context{Seed context?}
    Context -->|Yes| Seed[POST session context]
    Context -->|No| Choose
    Seed --> Choose{input_type}
    Choose -->|stream| Stream[Stream audio on /ws/stream]
    Stream --> End[POST end session]
    Choose -->|audio_file| UploadURL[GET file-uploadurl]
    UploadURL --> PutWav[PUT one WAV]
    Choose -->|transcript| Transcript[POST transcript-input]
    End --> Wait
    PutWav --> Wait
    Transcript --> Wait
    Wait[AI processing] --> Done{Webhook configured?}
    Done -->|Yes| Hook[Receive notification]
    Done -->|No| Poll[Poll session status]
    Hook --> Retrieve
    Poll --> Retrieve[Retrieve content]

    style Create fill:#FFF394,stroke:#333,color:#000
    style Context fill:#FFF394,stroke:#333,color:#000
    style Seed fill:#FFF394,stroke:#333,color:#000
    style Choose fill:#FFF394,stroke:#333,color:#000
    style Stream fill:#FFF394,stroke:#333,color:#000
    style End fill:#FFF394,stroke:#333,color:#000
    style UploadURL fill:#FFF394,stroke:#333,color:#000
    style PutWav fill:#FFF394,stroke:#333,color:#000
    style Transcript fill:#FFF394,stroke:#333,color:#000
    style Wait fill:#FFF394,stroke:#333,color:#000
    style Done fill:#FFF394,stroke:#333,color:#000
    style Hook fill:#FFF394,stroke:#333,color:#000
    style Poll fill:#FFF394,stroke:#333,color:#000
    style Retrieve fill:#FFF394,stroke:#333,color:#000
```

| `input_type` | What you send | When processing starts | End session | Recording |
| :- | :- | :- | :- | :- |
| `stream` (default) | Live audio on `/ws/stream` | After you call end session | Required | Available when audio was captured |
| `audio_file` | One WAV through a [presigned upload URL](https://developer.suki.ai/api-reference/ambient-sessions/file-uploadurl.md) | After a successful PUT of the file | Do not call | Available for the uploaded file |
| `transcript` | Finished text on [transcript-input](https://developer.suki.ai/api-reference/ambient-sessions/transcript-input.md) | After a successful transcript submit | Do not call | Returns **404** (no source audio) |

## Related guides

> [card] [Provide a Pre-Recorded Audio File](https://developer.suki.ai/documentation/concepts/ambient-clinical-notes/pre-recorded-audio-input.md)
>
> Learn when to use audio file as an input type, how to upload a WAV, how Ambient and Form filling share the upload contract, and what you retrieve.

> [card] [Provide a Finished Transcript](https://developer.suki.ai/documentation/concepts/ambient-clinical-notes/finished-transcript-input.md)
>
> Learn when to use transcript as an input type, what `raw_text` and `segments` mean, and why recording returns 404.

## Known limitations

Keep the following limitations in mind when choosing an input type:

> [accordion] See all limitations
>
> * **Fixed for the session:** Send `input_type` in the JSON body only. Query params are ignored. The value is fixed for the life of the session, so create a new session when you need a different option.
> * **Wrong endpoint for the session:** If you call the wrong follow-on endpoint for the session, Suki returns **`ING_SDK_005`**.
> * **Second submit or upload:** A second upload or transcript submit returns **`ING_SDK_006`**.
> * **Option disabled:** Either `audio_file` or `transcript` can return **403** when that option is disabled for the environment.
> * **Dictation:** Dictation session create does not accept `input_type` today.
> * **SDK capture:** Web SDK, Mobile SDK, Headless Web SDK, and Form filling SDK integrations still capture live audio. `audio_file` and `transcript` are Partner API paths today.

## Next steps

&#x20;**[Provide a pre-recorded audio file](https://developer.suki.ai/documentation/concepts/ambient-clinical-notes/pre-recorded-audio-input.md)** - When and how WAV upload works for Ambient and Form filling.

&#x20;**[Provide a finished transcript](https://developer.suki.ai/documentation/concepts/ambient-clinical-notes/finished-transcript-input.md)** - When and how finished text submit works for Ambient and Form filling.

&#x20;**[Upload a pre-recorded audio file](https://developer.suki.ai/documentation/how-to/ambient-clinical-notes/upload-prerecorded-audio)** - Ambient and Form filling upload how-tos.

&#x20;**[Submit a finished transcript](https://developer.suki.ai/documentation/how-to/ambient-clinical-notes/submit-finished-transcript)** - Ambient and Form filling transcript how-tos.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.