How to get startTme and endTime of each instance

Hi,

I am new to cammunda API, I am trying to retrieve all instance using api “/engine-rest/process-instance” could you please let me know how to get start time and end time for each instance.
is there any api is already available for the same ?

You can refer this API Get Process Instance | docs.camunda.org