Query suggestion api

I am using query suggestion to show auto complete,

I need to pass filter to get more accurate data
How i can achieve this?