How to Query scripted fields that are computed at query time

I want to query the script_fields that apears in the Request in a Visualization, I know this is computed in real time so I don’t know if it is possible, is there is any way I can achieve this approach ?

What exactly would you like to query? If you want to do some aggregation based on that, the visualization allow for this, so if you have a numeric scripted_field a "Sum" metric on that field should work just fine. If you offer more details we can look into your problem more.