predictions_get {civis} | R Documentation |
Show the specified prediction
Description
Show the specified prediction
Usage
predictions_get(id)
Arguments
id |
integer required. The ID of the prediction. |
Value
A list containing the following elements:
id |
integer, The ID of the prediction. |
modelId |
integer, The ID of the model used for this prediction. |
scoredTableId |
integer, The ID of the source table for this prediction. |
scoredTableName |
string, The name of the source table for this prediction. |
outputTableName |
string, The name of the output table for this prediction. |
state |
string, The state of the last run of this prediction. |
error |
string, The error, if any, of the last run of this prediction. |
startedAt |
string, The start time of the last run of this prediction. |
finishedAt |
string, The end time of the last run of this prediction. |
lastRun |
list, A list containing the following elements:
|
scoredTables |
array, An array containing the following fields:
|
schedule |
list, A list containing the following elements:
|
limitingSQL |
string, A SQL WHERE clause used to scope the rows to be predicted. |
primaryKey |
array, The primary key or composite keys of the table being predicted. |