---
title: "End ambient session"
method: POST
path: "/api/v1/ambient/session/{ambient_session_id}/end"
tags: ["/api/v1/ambient/session"]
---

# End ambient session

`POST /api/v1/ambient/session/{ambient_session_id}/end`

Ends an ambient session and triggers clinical note generation. Call this after audio streaming completes. Short or empty recordings may return a skipped status.

## Path parameters

- `ambient_session_id` string, required

## Headers

- `sdp_provider_id` string

## Response `200`

Request succeeded.

## Other responses

- `400` — Bad request. The request body or parameters failed validation.
- `401` — Unauthorized. The Suki access token is missing, expired, or invalid.
- `404` — Not found. The session, encounter, or resource ID does not exist.
- `500` — Internal server error.

---

[API](https://skmtc.dev/suki/apis/suki-developer-platform.md) · [All operations](https://skmtc.dev/suki/apis/suki-developer-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/suki/suki-developer-platform/revisions/5f420a18fb68/schema)
