JavaScript Matrix API with Shortest Distances

Hi there,
Wondering if it is possible to get the distance for shortest paths (instead of optimal) for matrix api call as we have option for direction api (preference=‘Shortest’).

Thanks

Duplicate Matrix: reduce results to e.g. shortest distance
Please use the search function before posting.