cURL
curl --request GET \ --url http://localhost:3001/ws/terminal-preview/{sessionId} \ --cookie nut-session=
{ "success": true, "error": { "code": "<string>", "message": "<string>" } }
Read-only WebSocket endpoint for viewing terminal output.
Connect to observe terminal output without being able to send input. The session must be created first via the create endpoint.
Session cookie authentication
Terminal session ID to observe
WebSocket upgrade