List runs for the given custom
scripts_list_custom_runs(
id,
limit = NULL,
page_num = NULL,
order = NULL,
order_dir = NULL
)
An array containing the following fields:
integer, The ID of the run.
integer, The ID of the custom.
string, The state of the run, one of 'queued' 'running' 'succeeded' 'failed' or 'cancelled'.
boolean, True if run cancel requested, else false.
string, The time the run was created.
string, The time the run started at.
string, The time the run completed.
string, The error, if any, returned by the run.
number, If the run has finished, the maximum amount of memory used during the run, in MB. Only available if the backing script is a Python, R, or container script.
number, If the run has finished, the maximum amount of cpu used during the run, in millicores. Only available if the backing script is a Python, R, or container script.
integer required. The ID of the custom.
integer optional. Number of results to return. Defaults to 20. Maximum allowed is 100.
integer optional. Page number of the results to return. Defaults to the first page, 1.
string optional. The field on which to order the result set. Defaults to id. Must be one of: id.
string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc.