List predictions

predictions_list(model_id = NULL)

Arguments

model_id

integer optional. If specified, only return predictions associated with this model ID.

Value

An array containing the following fields:

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:

  • id integer,

  • state string,

  • createdAt string, The time that the run was queued.

  • startedAt string, The time that the run started.

  • finishedAt string, The time that the run completed.

  • error string, The error message for this run, if present.