models_get_builds {civis} | R Documentation |
Check status of a build
Description
Check status of a build
Usage
models_get_builds(id, build_id)
Arguments
id |
integer required. The ID of the model. |
build_id |
integer required. The ID of the build. |
Value
A list containing the following elements:
id |
integer, The ID of the model build. |
state |
string, The state of the model build.one of 'queued' 'running' 'succeeded' 'failed' or 'cancelled'. |
error |
string, The error, if any, returned by the build. |
name |
string, The name of the model build. |
createdAt |
string, The time the model build was created. |
description |
string, A description of the model build. |
rootMeanSquaredError |
number, A key metric for continuous models. Nil for other model types. |
rSquaredError |
number, A key metric for continuous models. Nil for other model types. |
rocAuc |
number, A key metric for binary, multinomial, and ordinal models. Nil for other model types. |
transformationMetadata |
string, A string representing the full JSON output of the metadata for transformation of column names |
output |
string, A string representing the JSON output for the specified build. Only present when smaller than 10KB in size. |
outputLocation |
string, A URL representing the location of the full JSON output for the specified build.The URL link will be valid for 5 minutes. |