---
title: "Gets a hls video segment."
method: GET
path: "/Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}"
tags: ["HlsSegment"]
---

# Gets a hls video segment.

`GET /Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/jellyfin/apis/jellyfin-api/docs/Videos/:itemId/hls/:playlistId/:segmentId.:segmentContainer/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `itemId` string, required: The item id.
- `playlistId` string, required: The playlist id.
- `segmentId` string, required: The segment id.
- `segmentContainer` string, required: The segment container.

## Response `200`

Hls video segment returned.

## Other responses

- `404`: Hls segment not found.

---

[API](https://skmtc.dev/jellyfin/apis/jellyfin-api.md) - [All operations](https://skmtc.dev/jellyfin/apis/jellyfin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jellyfin/apis/jellyfin-api/revisions/eb6f75af7066?raw)
