Ký cùng với truyện ngắn và tiểu thuyết chương hồi là ba bộ phận cấu thành văn xuôi tự sự Việt Nam thời trung đại. Lê Quýnh (1750 - 1805) – một trung thần của nhà Lê lưu vong trên đất Trung Hoa đã ghi chép lại những biến cố, nỗi niềm và tâm sự của cá nhân ông cũng như của các vong thần nhà Lê trong khoảng mười lăm năm sống dưới thân phận tù nhân nơi ngục tù đất Bắc. Tác phẩm của Lê Quýnh là một bước tiếp nối những thành tựu của các tác giả đi trước về thể loại ký và góp phần đưa thể loại văn học này trở thành một trong những thể loại làm nên thành tựu rực rỡ của giai đoạn văn học thế kỉ XVIII.Memoirs, short stories, and novels are three components of medieval Vietnamese autobiographical prose. Le Quynh (1750 - 1805) – a loyalist of the Le Dynasty in exile in China, recorded the events, feelings, and confidants of his personal as well as those who were in the same situation with him under Le dynasty for about fifteen years, living as a prisoner in the North. Le Quynh's work is a continuation of the achievements of previous authors in the autobiography. Moreover, it contributes to making this literary genre one of the genres that create the magnificent achievements of the literary period in the eighteenth century.