GetModelJobs: Retrieve status of Autopilot modeling jobs that are not complete
Description
This function requests information on DataRobot Autopilot modeling
tasks that are not complete, for one of three reasons: the task is
running and has not yet completed; the task is queued and has not
yet been started; or, the task has terminated due to an error.
Usage
GetModelJobs(project, status = NULL)
Arguments
project
Either (1) a character string giving the unique alphanumeric identifier for the
project, or (2) a list containing the element projectId with this identifier.
status
The status of the desired jobs: one of JobStatus$Queue, JobStatus$InProgress, or
JobStatus$Error. If NULL (default), queued and inprogress jobs are returned.
Value
A list of lists with one element for each modeling task
in the group being queried; if there are no tasks in the class
being queried, an empty list is returned. If the group is not empty,
a list is returned with the following nine elements:
Details
The jobStatus variable specifies which of the three groups of
modeling tasks is of interest. Specifically, if jobStatus has the
value 'inprogress', the request returns information about modeling
tasks that are running but not yet complete; if jobStatus has the
value 'queue', the request returns information about modeling tasks
that are scheduled to run but have not yet started; if jobStatus
has the value 'error', the request returns information about modeling
tasks that have terminated due to an error. By default, jobStatus is
NULL, which means jobs with status "inprogress" or "queue" are returned,
but not those with status "error".