I believe that because they are different things, history x active processes, I think the query should be separated, using process instance API and history API.
But it’s open in case someone knows something better…
Big hug!
Do you mean that the operate API replaces the history API of camunda 7? Does it have the same functionality / flexibility? Does one have to have a license to use it?
There’s an open source community extension being working on that aims to create a complete rest api for Camunda 8.
It’s still in the early stages of development but It would be a good idea to keep an eye on it, or even contribute to it: