---
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`

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.

---

[API](https://skmtc.net/dyte-io/apis/dyte-rest-apis.md) · [All operations](https://skmtc.net/dyte-io/apis/dyte-rest-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dyte-io/dyte-rest-apis/revisions/f62d3edd92ae/schema)
