add apis for cahier de text