Display process instance goups based on process instance variable

Hello everyone,
How can display all the process instance/ running process instances based on spicific process instance spicific variable?
As an exapmle there is a process insatnce that called insert product and quantity, I want to display all the process instances that have been “apple” inserted as a product name,
I want to that with Camunda REST API,
How can I do that?

Hi @YazanAsaad
I think the following API is what you’re looking for Get Instances (POST) | docs.camunda.org OR Get Variable Instances (POST) | docs.camunda.org

Hello @Alex_Voloshyn
I will try that