Get execution tree xml

Hi ,
We have external UI to show the process status. We want to show the execution tree/path how the instance has travelled.
For now, I received the BPMN file as xml and highlighted it using the bpmn.io tools manually, by highlighting the activity IDs.
There is REST api to get the bpmn as xml file and the current task. Is there any REST - API endpoint available to get the execution process path XML by instance ID?