scripts_get_sql_runs: Check status of a run

Description Usage Arguments Value

Description

Check status of a run

Usage

1

Arguments

id

integer required. The ID of the sql.

run_id

integer required. The ID of the run.

Value

A list containing the following elements:

id

integer, The ID of this run.

sqlId

integer, The ID of this sql.

state

string, The state of this run.

isCancelRequested

boolean, True if run cancel requested, else false.

startedAt

string, The time the last run started.

finishedAt

string, The time that this run finished.

error

string, The error message for this run, if present.

output

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.


civisanalytics/civis-r documentation built on June 27, 2020, 7:25 a.m.