modern-city-48224
08/30/2025, 4:26 PMtall-airline-16756
08/30/2025, 4:26 PMtall-airline-16756
08/30/2025, 4:27 PMfrom livekit import api
async def check_room(room_name):
lkapi = api.LiveKitAPI()
rooms_response = await lkapi.room.list_rooms(
api.ListRoomsRequest(names=[room_name])
)
return rooms_response
If the room is active and exists, you’ll see it in the response. If it’s not there, it probably means the room was deleted or just doesn’t exist. Hope that helps!
Sources: README.md