---
title: "Complete a live stream"
method: PUT
path: "/live-streams/{liveStreamId}/complete"
tags: ["Live Streams"]
---

# Complete a live stream

`PUT /live-streams/{liveStreamId}/complete`

Request the completion of a live stream that is currently running. This operation is asynchronous and the live stream will stop after a few seconds. 

The API adds the `EXT-X-ENDLIST` tag to the live stream's HLS manifest. This stops the live stream on the player and also stops the recording of the live stream. The API keeps the incoming connection from the streamer open for at most 1 minute, which can be used to terminate the stream.

## Path parameters

- `liveStreamId` string, required

## Response `202`

Accepted

## Other responses

- `404` — Not Found
- `429` — Too Many Requests

## Changes

> 50 revisions in range; 1 not diffed.

- **2024-07-29** `f4e7539456f4` — 1 info
  - endpoint added
- **2022-02-07** `2a4d90a64f88` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/apivideo/apis/api-video/changes/live-streams/:liveStreamId/complete/put.md)

---

[API](https://skmtc.dev/apivideo/apis/api-video.md) · [All operations](https://skmtc.dev/apivideo/apis/api-video/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apivideo/api-video/revisions/45ec26f342b6/schema)
