GetPredictJob: Request information about a predict job

View source: R/GetPredictJobs.R

GetPredictJobR Documentation

Request information about a predict job

Description

Request information about a predict job

Usage

GetPredictJob(project, predictJobId)

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.

predictJobId

Character string specifying the job id

Value

list with following elements:

status

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

predictJobId

Character string specifying the job id

modelId

Character string specifying the model from which predictions have been requested

projectId

Character string specifying the project that contains the model

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  initialJobs <- GetPredictJobs(project)
  job <- initialJobs[[1]]
  predictJobId <- job$predictJobId
  GetPredictJob(projectId, predictJobId)

## End(Not run)

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