Get the run history and outputs of this script
scripts_list_history(id)
id | integer required. The ID for the script. |
---|
A list containing the following elements:
integer, The ID of this run.
integer, The ID of this sql.
string, The state of this run.
boolean, True if run cancel requested, else false.
string, The time that this run finished.
string, The error message for this run, if present.
array, An array containing the following fields:
outputName string, The name of the output file.
fileId integer, The unique ID of the output file.
path string, The temporary link to download this output file, valid for 36 hours.