add apis for archives