APIs of Workflow Task Manager module to get records list on the basis of different filters/rule/conditions

We want to create different buckets in our Mobile & Web application to categorize the records on the basis of Task & Task Status. So we need APIs like:

  1. Give all records where status of TASK_1=SUCCESS
    2, Give all records where status of TASK_2=WIP
  2. Give all records where status of TASK_2=WIP or TASK_2=PENDING

Are these apis available in Task Manager workflow module. If Yes then please share the details.