can we get the number task pending with particular user with full details of the task by using any infor ion API? task details like task id and other task details? Note : for all the ion workflows

can we get the number task pending with particular user with full details of the task by using any infor ion API? task details like task id and other task details?
Note : for all the ion workflows