Check status of a run
scripts_get_sql_runs(id, run_id)
id | integer required. The ID of the sql. |
---|---|
run_id | integer required. The ID of the run. |
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 the last run started.
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.