add a new api set pr_stats