According to "Engishiki" (an ancient book for codes and procedures on national rites and prayers), it was the government office that belonged to Chumusho (Ministry of Central Affairs).
『延喜式』では、中務省所属の官司とされている。