regroup api functions