---
title: "Fetch livestream session details using a session ID"
method: GET
path: "/sessions/{session_id}/livestream-sessions"
tags: ["Live streams"]
---

# Fetch livestream session details using a session ID

`GET /sessions/{session_id}/livestream-sessions`

## Request

- Base URL: `https://api.dyte.io/v2`
- URL: `https://api.dyte.io/v2/sessions/{session_id}/livestream-sessions`
- Auth: HTTP basic

Returns livestream session details for the given session ID. Retreive the session ID using the `Fetch all sessions of an organization` API.

## Path parameters

- `session_id` string, required

## Query parameters

- `per_page` number
- `page_no` number

## Response `200`

OK

- object
  - `success` boolean
  - `data` object
    - `err_message` 'LIVE' | 'IDLE' | 'ERRORED' | 'INVOKED'
    - `invoked_time` string, nullable: Name of the livestream.
    - `livestream_id` string: The ID of 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.
    - `id` string: The livestream session ID.
    - `stopped_time` string, date-time: Specifies if the livestream was disabled.
    - `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` number
      - `start_offset` number
      - `end_offset` number

## Changes

- **2025-04-04** (v2) `cb67ff854c71`: 1 breaking, 1 info
  - added the new path request parameter `session_id`
  - the endpoint scheme security `Authorization` was added to the API
- **2025-04-03** (v2) `68b9e665bfcc`: 1 warning, 1 info
  - deleted the `path` request parameter `session_id`
  - the endpoint scheme security `Authorization` was removed from the API
- **2024-11-20** (v2) `d8c5d90e84ac`: 1 breaking, 1 info
  - added the new path request parameter `session_id`
  - the endpoint scheme security `Authorization` was added to the API
- **2023-07-18** (v2) `1d0c9cf27eb0`: 4 warning
  - added the new `ERRORED` enum value to the `data/err_message` response property for the response status `200`
  - added the new `IDLE` enum value to the `data/err_message` response property for the response status `200`
  - added the new `INVOKED` enum value to the `data/err_message` response property for the response status `200`
  - added the new `LIVE` enum value to the `data/err_message` response property for the response status `200`
- **2023-07-18** (v2) `a68b59b9362c`: 6 info
  - added the new optional `query` request parameter `page_no`
  - added the new optional `query` request parameter `per_page`
  - removed the `ERRORED` enum value from the `data/err_message` response property for the response status `200`
  - removed the `IDLE` enum value from the `data/err_message` response property for the response status `200`
  - …2 more

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