Kyūji (旧辞), also known as Honji (本辞) and Sendai no Kuji (先代旧辞), is an ancient Japanese historical text.
According to the Kojiki preface, Emperor Tenmu said: What I hear is that the Teiki and Honji brought about by the many houses already differ from the truth and contain many inaccuracies.
Thus, I would like to carefully examine the Teiki and Kyūji, remove the errors, and establish the truth for future generations.
The task was revived several years later during the reign of Empress Genmei:At this point, regretting the errors and differences in the Kyūji, the Empresses tries to fix the errors and differences in the Senki, and on the ninth month and the eighteenth day of fourth year of Wadō [=711] she says to Yasumaro: "I command you to record the imperial Kyūji that Hieda no Are learned.
The preface also states that it was one of the primary resources in the composition of the Kojiki, thus there must have been some overlap between the two, and most likely contained legendary accounts.