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.
内記は中務省直属の官で詔勅・宣命・位記の起草・天皇の行動記録を職掌としていた。