List runs for the given prediction

predictions_list_runs(id, limit = NULL, page_num = NULL,
  order = NULL, order_dir = NULL)

Arguments

id

integer required. The ID of the prediction.

limit

integer optional. Number of results to return. Defaults to 20. Maximum allowed is 100.

page_num

integer optional. Page number of the results to return. Defaults to the first page, 1.

order

string optional. The field on which to order the result set. Defaults to id. Must be one of: id.

order_dir

string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc.

Value

An array containing the following fields:

id

integer, The ID of the prediction run.

predictionId

integer, The ID of the prediction.

state

string, The state of the prediction run.

exception

string, The exception, if any, returned by the prediction run.

name

string, The name of table created by this predictions run.

createdAt

string, The time when the table with created predictions was created.

scoreStats

array, An array containing the following fields:

  • scoreName string, The name of the score.

  • histogram array, The histogram of the distribution of scores.

  • avgScore number, The average score.

  • minScore number, The minimum score.

  • maxScore number, The maximum score.