Naiki (government posts) (内記)

Naiki was Honkan, the collective name of government posts, which belonged to Nakatsukasasho under the ritsuryo legal code system. Its Tang name was Kikyoro and Chuka.
Its Japanese reading was 'Uchi no shirusutsukasa.'

Official duties

Naiki was officials under the direct control of Nakatsukasasho, and took charge of drafting of imperial messages, imperial edicts, diplomas of court rank, and recording of emperor's activities. For that reason, good writers among officials and scholars were preferentially appointed Naiki, and Dainaiki was limited to those who had passed the National examination in history (and Chinese literature).

However, in the Heian period, the role of naiki was gradually reduced. Naiki was in charge of recording the official activities of the emperor, and was not qualified to enter Dairi, the emperor's residence. When Kurododokoro was established and its officials Kurodo was qualified to enter Dairi, the emperor began to issue imperial orders to Daijokan through Kurodo; accordingly, the emperor did not need to go out from Dairi except for occasions like imperial court events, and eventually the emperor and Naiki had less and less contact with each other, which was the reason that Naiki lost their duties of recording the emperor's activities. Besides, as Geki, the officials in charge of drafting the orders from Daijokan, expanded their authority and absorbed the duty of drafting the imperial messages, Naiki lost their roles.

Naiki was independent from Shitokan as the officials under the direct command of Nakatsukasasho (i.e., Honkan, Isshi) and their office was called Naikikyoku. It is considered that Naikikyoku was located to the south of Hyoefu. Following the Chinese Kikyochu, Naikikyoku recorded daily activities of the emperor and compiled as 'Naikikyoku Nikki;' but for the above-mentioned reasons, they ceased that duty in the latter half of the Heian period and their documents have been lost except for some superior writings.

Officials

Dainaiki (Senior Sixth Rank, Upper Grade) One among two
Chunaiki (Senior Seventh Rank, Upper Grade) Two
Abolished in 806.
Shonaiki (Senior Eighth Rank, Upper Grade) Two
Raised to the post corresponding to Senior Seventh Rank, Upper Grade after Chunaiki was abolished.

Shisho
Established in place of Chunaiki for four officials.