Filter decision history by inputs or outputs with Rest API

Hello

I evaluate the possibility of including Camunda DMN in my app using Rest API.

Is there any methods to query history of decisions with by inputs or outputs with API?

Also I see that it is possible to filter decisions history by processInstanceId, caseInstanceId. How can I pass my custom id using Rest API? The purpose is alike – to implement filtering.

@vabue you could wrap the decision in a Business Rule activity in BPMN, and then use the BPMN variable filters in the API