If there is no API then how about this hack
For the process
>> Start ---> human task (Book Taxi)--->human task (Approve or reject) ---> End.
I will also parse the BPM file and try toread first human task from the process (only for human task initiated process).And read the first human task "Parameter Mapping", which I canuse later to build my UI.
is it an overkill is there an API.. Which takes processID and provides complete task path whichare present in BPM file