Skip to content
Software capabilities
LiveKit

List LiveKit ingress endpoints

List LiveKit ingress endpoints for all rooms or one room, then inspect the endpoint state before debugging an RTMP or WHIP publisher.

Documentation reviewed · 2 methods with sources

Ways to do it

  1. CLI: lk ingress list
  2. SDK: IngressClient.listIngress()
CLI

lk ingress list

List ingress endpoints from the LiveKit CLI, optionally filtering by room or ingress ID.

Read source: LiveKit CLI ingress and egress
Requirements
The LiveKit CLI configured with a project URL, API key, and API secret.
Limitations
The default request fetches one page. Pass --limit to set a maximum and treat raw JSON as sensitive because it can contain stream credentials.

Example shell

lk ingress list --room "$LIVEKIT_ROOM" --limit 20
SDK

IngressClient.listIngress()

List ingress endpoints through the LiveKit Node.js server SDK.

Read source: LiveKit Node IngressClient reference
Requirements
The livekit-server-sdk package and LIVEKIT_URL, LIVEKIT_API_KEY, and LIVEKIT_API_SECRET environment variables.
Limitations
The Node client returns an array of ingress records. Pass a room name to narrow the result and select the fields you need before logging it.

Example text

import { IngressClient } from "livekit-server-sdk";

const ingress = new IngressClient(
  process.env.LIVEKIT_URL,
  process.env.LIVEKIT_API_KEY,
  process.env.LIVEKIT_API_SECRET,
);
const endpoints = await ingress.listIngress({ roomName: process.env.LIVEKIT_ROOM });
console.log(endpoints.map(({ ingressId, roomName, state }) => ({ ingressId, roomName, status: state?.status })));