Skip to main content
POST
cURL
Updated
  • Multiple input types: You can now generate a clinical note from live audio, a pre-recorded WAV file, or a completed transcript. Set the input type when you create the session. See Session input types, Get audio file upload URL, and Submit transcript input for details.
  • Note identifier in the create response: The response now returns note_id. Use this identifier with note-level Ambient APIs and save it for subsequent re-ambient workflows. composition_id is deprecated but remains available for backward compatibility. It returns the same value as note_id.
  • E/M Coding: You can now request E/M codes for an ambient visit. Pass artifacts: ["EM_CODES"], provide the patient and visit details in session context, and retrieve the recommended codes after the session completes. See E/M Coding.
Use this endpoint to create an for a patient (visit). An ambient session represents one recording for a patient encounter. An encounter can contain one or more ambient sessions, so multiple recordings can stay associated with the same clinical visit. The response of this endpoint returns two identifiers which you use to identify the ambient session and the clinical note it creates.
  • ambient_session_id: Identifies the individual ambient session. Use it for session-level operations such as setting context, streaming audio, checking processing status, and retrieving session content.
  • note_id: Identifies the clinical note associated with the session. Save this value and use it as the path parameter when calling note-level Ambient APIs.

Use the note identifier

Store the note_id returned by the create response. Pass it as the path parameter when retrieving note content, context, or structured data.
Backward compatibility:composition_id is deprecated. It returns the same value as note_id and remains available so existing integrations that read composition_id continue to work. Use note_id in new integrations.
For an overview of how ambient sessions work across different input modalities, see Ambient interoperability.
  • To design your ambient workflow, handle identifiers, and provide the fields required for interoperability, refer to Create an ambient session.
  • To choose when to use live audio, a WAV upload, or completed transcript text, refer to Session input types.

Request body fields

All request body fields are optional. You can create an ambient session with an empty JSON body. If you do not provide ambient_session_id, Suki generates one and returns it in the response. If you omit input_type, the session defaults to stream, which uses live WebSocket audio. Use the following fields to configure the session, associate it with a patient visit, choose how to provide the conversation, or request additional outputs.

Choose an input type

Set input_type based on how you provide the conversation to Suki. Each input type determines how Suki receives the data, when processing starts, and whether you need to explicitly end the session.

Retrieve session results

Once processing starts, the remaining workflow is the same for all three input types:
  • Check processing status by polling the status endpoint or receiving a webhook.
  • Retrieve the clinical note content, transcript, and structured data.
Recording retrieval depends on the input type:
  • For stream and audio_file, you can retrieve the recording.
  • For transcript, recording retrieval returns 404 because the session was created from transcript text rather than an audio recording.

How re-ambient works

Re-ambient lets you create a new ambient session that continues an existing clinical note instead of creating a new note. To associate the new session with the existing note, pass the appropriate identifier in the encounter_id field when creating the re-ambient session.

Choose the identifier for re-ambient

The Create ambient session request does not have a separate note_id field for re-ambient. Instead, use encounter_id to identify the note that the new session should continue. The value you provide depends on whether you included encounter_id when creating the original ambient session. Important identifier handling:
  • Use encounter_id in the re-ambient create request. Choose its value based on how you created the original session.
  • Save the note_id returned by the create response. It identifies the clinical note and is also the path parameter for note-level Ambient APIs.

Recording and request timing

Keep the following requirements in mind when creating ambient sessions:
  • Minimum recording duration: Record for at least 1 minute. Shorter recordings may not contain enough information to create a clinical note, and Suki may skip note generation.
  • Cross-modality interoperability: To continue the same note across modalities, reuse the existing emr_encounter_id when creating the session. It accepts a UUID or non-UUID value of up to 36 characters.
  • Delay between create requests: Wait at least 1 second between create requests that share the same emr_encounter_id. Concurrent or back-to-back requests may return a conflict.

Code examples

Endpoint reference

Authorizations

sdp_suki_token
string
header
required

Suki access token (suki_token) from Login or Register. Expires after one hour.

Headers

sdp_provider_id
string

Optional for standard partners.

Required for:

  • Bearer authentication. Use the same provider_id returned by the Login or Register API.
  • Single Auth Token authentication. Include the same provider_id on every request as sdp_provider_id.
Example:

"provider-123"

Body

application/json

Session identifiers for Ambient session create. Pass emr_encounter_id for cross-modality interoperability and encounter_id to group re-ambient sessions for one note. If the first create omitted encounter_id, pass the returned note_id as the encounter_id value on later creates.

ambient_session_id
string

Optional - UUID for this Ambient session. Suki generates one when omitted and returns it in the response.

Example:

"123dfg-456dfg-789dfg-012dfg"

emr_encounter_id
string

Optional for standalone sessions - Visit interop key for interoperability. Accepts a UUID or non-UUID value, at most 36 characters. One EMR encounter can contain multiple notes. Required for cross-modality Ambient workflows.

Maximum string length: 36
Example:

"123dfg-456dfg-789dfg-012dfg"

encounter_id
string

Optional - Groups re-ambient sessions for one note. Pass it on the first session and reuse the same value on later creates. If the first create omitted it, pass the returned note_id as this field's value for re-ambient. There is no separate note_id request field. Up to 255 characters. Create does not return this field.

Example:

"123dfg-456dfg-789dfg-012dfg"

multilingual
boolean
deprecated

Deprecated. Multilingual support is enabled by default for all Ambient sessions.

Example:

false

artifacts
enum<string>[]

(Optional) Extra outputs to generate with the note. Pass EM_CODES to request E/M Coding for this ambient visit.

Available options:
EM_CODES
Example:
input_type
enum<string>

Optional - How you send visit content into this session. Omit or set stream for live WebSocket audio (default). Set audio_file to upload one pre-recorded WAV. Set transcript to submit finished transcript text. Send this field in the JSON body only. Query params are ignored. Fixed for the life of the session.

Available options:
stream,
audio_file,
transcript
Example:

"stream"

Response

Resource created successfully.

Identifiers returned after Ambient session create.

ambient_session_id
string

UUID for the created Ambient session. Store this for later session API calls.

Example:

"123dfg-456dfg-789dfg-012dfg"

note_id
string

ID of the clinical note for this session. Use it as the note_id path parameter on note-level Ambient APIs (note content, note context, note structured data). If the first create omitted encounter_id, pass this value as the encounter_id field on later creates to re-ambient the same note.

Example:

"123dfg-456dfg-789dfg-012dfg"

composition_id
string
deprecated

This field is deprecated. It returns the same value as note_id and remains available for backward compatibility, so existing integrations that still read composition_id continue to work. Prefer note_id for new integrations.

Last modified on November 25, 2026