add task_search api to search for task by task_id