Skip to main content
POST
cURL
Use this endpoint to end a Form filling session created with live WebSocket audio and start structured form processing. Ending a Form filling session closes that capture so Suki can finish form processing but it does not close the patient encounter. If the visit requires additional capture, create another Form filling session for the same encounter. Use your Form filling ambient_session_id to end the session.
Call this endpoint only for sessions created with input_type: "stream" or when input_type is omitted (the default). For other input types, processing starts automatically when you provide the input:Do not call this endpoint to start processing for these input types. For any input type, seed at least one template or schema in Form filling session context before processing starts.

Code examples

The code examples below use placeholders and the stage host sdp.suki-stage.com only as examples. For credentials, base URLs, where to run Python or TypeScript, CORS, and cURL, refer to Using code examples in your integration in the API Reference Guidelines.

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"

Path Parameters

ambient_session_id
string
required

Form-filling session ID. The path parameter is named ambient_session_id, but this value identifies the form-filling session, not an ambient clinical documentation session. Use the ID returned from Create Form filling Session, or the UUID you supplied in that request.

Response

Request succeeded.

The response is of type object.

Last modified on November 25, 2026