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

# Fetch active livestream session details

`GET /livestreams/{livestream_id}/active-livestream-session`

## Request

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

Returns details of all active livestreams for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.

## Path parameters

- `livestream_id` string, required

## Response `200`

OK

- object
  - `success` boolean
  - `data` object
    - `livestream` object
      - `id` string
      - `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: ID of the meeting.
      - `playback_url` string: The web address that viewers can use to watch the livestream.
      - `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.
      - `disabled` string: Specifies if the livestream was disabled.
    - `session` object
      - `id` string
      - `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` string: The time duration for which the input was given or the meeting was streamed.
      - `viewer_seconds` string: The total view time for which the viewers watched the stream.

## 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) `fe05f82e3470`: 1 breaking, 4 warning
  - the `data/livestream/status` response's property type changed from `string` to no type for status `200`
  - added the new `ERRORED` enum value to the `data/livestream/status` response property for the response status `200`
  - added the new `IDLE` enum value to the `data/livestream/status` response property for the response status `200`
  - added the new `INVOKED` enum value to the `data/livestream/status` response property for the response status `200`
  - …1 more
- **2023-07-18** (v2) `709c46a28a8b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dyte-io/apis/dyte-rest-apis/changes/livestreams/:livestream_id/active-livestream-session/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)
