Retrieve active terminal sessions, optionally filtered by task or session ID.
Session cookie authentication
Filter sessions by task ID
Fetch a specific session by ID
Include a terminal output preview for each session
1, true, yes Number of preview lines to return (max 10, default 4)
x <= 10Max bytes to scan for preview (max 8192, default 4096)
x <= 8192Keep ANSI escape codes in preview output
1, true, yes List of terminal sessions