How do I specify fuel/distance savings only in API?

Hello. I want to use the API and put in a list of GPS coordinates. I want the route optimised by distance or potential fuel savings. How do I do that in the json input? Thank you!

Our algorithm only optimises routes by time. There is no optimisation by distance or fuel.