---
title: "Get HLS Segment Duration by Library"
method: GET
path: "/{library_id}"
---

# Get HLS Segment Duration by Library

`GET /{library_id}`

Returns the configuration of a specific library. This page focuses only on the hls_segment_duration field.

## Path parameters

- `library_id` string, uuid, required

## Response `200`

200

- object
  - `data` object
    - `hls_segment_duration` integer — Duration of each HLS segment in seconds (4-15, default 6).

## Other responses

- `404` — 404

---

[API](https://skmtc.net/pandavideo/apis/api-v2.md) · [All operations](https://skmtc.net/pandavideo/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandavideo/api-v2/versions/4fbd3c623ca9/schema)
