Looking through the Azure Devops APIs it appears like it isn't possible to get the runtime of individual steps in a pipeline run?
The response body returns a list of build details that include job/step/task type
and name
and startTime
and finishTime
according timeline.