add batch status api