ascent and descent missing in API Direction response

When calling the direction using the API the ascent and descent are not in the response but when using the openrouteservice website they are present. Any help here and please what these two means, i suppose it’s the max and minimum duration. Thanks

request : client.directions(coords,profile=“cycling-regular”)

It’s not easy to see what is happening without a bit more info. Generally though it seems you are not asking it to return the elevation as that is often a parameter that has to be passed if you want it. Have a look on the api playground to get an idea of what can be passed and how that affects the response (https://openrouteservice.org/dev/#/api-docs).