Learn R Programming

datarobot (version 2.8.0)

GetJob: Request information about a job

Description

Request information about a job

Usage

GetJob(project, jobId)

Arguments

project

character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.

jobId

Character string specifying the job id

Value

list with following elements:

status

job status; an element of JobStatus, e.g. JobStatus$Queue

url

Character string: URL to request more detail about the job

id

Character string specifying the job id

jobType

Job type. See JobType for valid values

projectId

Character string specifying the project that contains the model

Examples

Run this code
# NOT RUN {
  projectId <- "59a5af20c80891534e3c2bde"
  initialJobs <- GetModelJobs(project)
  job <- initialJobs[[1]]
  jobId <- job$modelJobId
  GetJob(projectId, jobId)
# }

Run the code above in your browser using DataLab