How can i get minimum and maximum value?

I build facet filter by using manticoresearch.
I use “HTTP API” for requests and official php client manticoresearch-php.
I have attributes “height” (int), “width” (int), “interests” (multi).
For interests i use facet method, and it work great.
I want get minimum and maximum value for height.
I can use facet method for height with set size 9999, get all options, and search minimal and maximum with php help. But i think there is more true method.
If I used mysql protocol, i could use query “select min(height), max(height) from users;”
Can i use something like it by http?

you could use expressions JSON filed of your query. However min and max are aggregates, that is why they will work with aggs query.