scripts_list_python3_runs: List runs for the given python

View source: R/generated_client.R

scripts_list_python3_runsR Documentation

List runs for the given python

Description

List runs for the given python

Usage

scripts_list_python3_runs(
  id,
  limit = NULL,
  page_num = NULL,
  order = NULL,
  order_dir = NULL
)

Arguments

id

integer required. The ID of the python.

limit

integer optional. Number of results to return. Defaults to 20. Maximum allowed is 100.

page_num

integer optional. Page number of the results to return. Defaults to the first page, 1.

order

string optional. The field on which to order the result set. Defaults to id. Must be one of: id.

order_dir

string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc.

Value

An array containing the following fields:

id

integer, The ID of the run.

pythonId

integer, The ID of the python.

state

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

isCancelRequested

boolean, True if run cancel requested, else false.

createdAt

string, The time the run was created.

startedAt

string, The time the run started at.

finishedAt

string, The time the run completed.

error

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

maxMemoryUsage

number, If the run has finished, the maximum amount of memory used during the run, in MB.

maxCpuUsage

number, If the run has finished, the maximum amount of cpu used during the run, in millicores.


civis documentation built on April 1, 2023, 12:01 a.m.