cURL
curl --request GET \ --url http://localhost:8080/api/workspaces/{id}/sessions/{session_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "workspace_id": "<string>", "task_id": "<string>", "task_run_id": "<string>", "session_name": "<string>", "status": "<string>", "runner_pid": 123, "exit_code": 123, "error_message": "<string>", "line_count": 123, "last_activity_at": "<string>", "started_at": "<string>", "finished_at": "<string>", "duration": 123, "keep_status": false, "worktree_path": "<string>", "claude_session_id": "<string>", "attempt_number": 123, "task_title": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Extended session response with task info and attempt details.