Check status of a run

scripts_get_javascript_runs(id, run_id)

Arguments

id

integer required. The ID of the javascript.

run_id

integer required. The ID of the run.

Value

A list containing the following elements:

id

integer, The ID of the run.

javascriptId

integer, The ID of the javascript.

state

string, The state of the run, one of 'queued' 'running' 'succeeded' 'failed' or 'cancelled'.

isCancelRequested

boolean, True if run cancel requested, else false.

startedAt

string, The time the last run started at.

finishedAt

string, The time the last run completed.

error

string, The error, if any, returned by the run.