Skip to main content
Lyzr Studio provides a WebSocket endpoint (wss://metrics.studio.lyzr.ai) to listen to real-time messages of a specific session ID. This is essential for monitoring live agent inference and activity logs.

WebSocket Connection Details

The connection requires two pieces of identifying information: the specific Session ID you wish to monitor and your X-API-Key for authentication, which must be passed in the Query parameter.

Constructing the WebSocket URL

To establish a connection, you must pass the Session ID as a path parameter and the X-API-Key as a query parameter.

1. General Format

Use this template to construct your secure WebSocket URL: