GetJob: Request information about a job

View source: R/Jobs.R

GetJobR Documentation

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 character. Model job status; an element of JobStatus, e.g. JobStatus$Queue.

  • url character. URL to request more detail about the job.

  • id character. The job id.

  • jobType character. See JobType for valid values.

  • projectId character. The project that contains the model.

  • isBlocked logical. If TRUE, the job is blocked (cannot be executed) until its dependencies are resolved.

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  initialJobs <- ListModelJobs(project)
  job <- initialJobs[[1]]
  jobId <- job$modelJobId
  GetJob(projectId, jobId)

## End(Not run)

datarobot documentation built on Nov. 3, 2023, 1:07 a.m.