---
title: "Fetch livestream details using livestream ID"
method: GET
path: "/livestreams/{livestream_id}"
tags: ["Live streams"]
---

# Fetch livestream details using livestream ID

`GET /livestreams/{livestream_id}`

## Request

- Base URL: `https://api.dyte.io/v2`
- URL: `https://api.dyte.io/v2/livestreams/{livestream_id}`
- Auth: HTTP basic

Returns details of a livestream with sessions for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.

## Path parameters

- `livestream_id` string, required

## Query parameters

- `page_no` integer
- `per_page` integer

## Response `200`

OK

- object
  - `success` boolean
  - `data` object
    - `livestream` object
      - `id` string: ID of the livestream.
      - `name` string: Name of the livestream.
      - `ingest_server` string: The server URL to which the RTMP encoder sends the video and audio data.
      - `stream_key` string: Unique key for accessing each livestream.
      - `status` 'LIVE' | 'IDLE' | 'ERRORED' | 'INVOKED'
      - `meeting_id` string: The ID of the meeting.
      - `playback_url` string: The web address that viewers can use to watch the livestream.
      - `created_at` string: Timestamp the object was created at. The time is returned in ISO format.
      - `updated_at` string: Timestamp the object was updated at. The time is returned in ISO format.
      - `disabled` string: Specifies if the livestream was disabled.
    - `session` object
      - `id` string: ID of the session.
      - `livestream_id` string
      - `err_message` string
      - `invoked_time` string, date-time: Timestamp the object was invoked. The time is returned in ISO format.
      - `started_time` string, date-time: Timestamp the object was started. The time is returned in ISO format.
      - `stopped_time` string, date-time: Timestamp the object was stopped. The time is returned in ISO format.
      - `created_at` string, date-time: Timestamp the object was created at. The time is returned in ISO format.
      - `updated_at` string, date-time: Timestamp the object was updated at. The time is returned in ISO format.
      - `ingest_seconds` number: The time duration for which the input was given or the meeting was streamed.
      - `viewer_seconds` number: The total view time for which the viewers watched the stream.
    - `paging` object
      - `total_count` integer
      - `start_offset` integer
      - `end_offset` integer

## Changes

- **2025-04-04** (v2) `cb67ff854c71`: 2 breaking, 1 info
  - added the new path request parameter `livestream_id`
  - the `data/livestream/status` response's property type changed from no type to `string` for status `200`
  - the endpoint scheme security `Authorization` was added to the API
- **2025-04-03** (v2) `68b9e665bfcc`: 1 breaking, 1 warning, 1 info
  - the `data/livestream/status` response's property type changed from `string` to no type for status `200`
  - deleted the `path` request parameter `livestream_id`
  - the endpoint scheme security `Authorization` was removed from the API
- **2024-11-20** (v2) `d8c5d90e84ac`: 2 breaking, 1 info
  - added the new path request parameter `livestream_id`
  - the `data/livestream/status` response's property type changed from no type to `string` for status `200`
  - the endpoint scheme security `Authorization` was added to the API
- **2023-07-18** (v2) `a68b59b9362c`: 2 info
  - added the new optional `query` request parameter `page_no`
  - added the new optional `query` request parameter `per_page`
- …earlier changes not shown

[Operation history](https://skmtc.dev/dyte-io/apis/dyte-rest-apis/changes/livestreams/:livestream_id/get.md)

---

[API](https://skmtc.dev/dyte-io/apis/dyte-rest-apis.md) - [All operations](https://skmtc.dev/dyte-io/apis/dyte-rest-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/dyte-io/apis/dyte-rest-apis/revisions/f62d3edd92ae?raw)
