Another alternative, using SS 1.0 (arg). That API...
# suitescript
d
Another alternative, using SS 1.0 (arg). That API call returns the fileId of the results.csv