Result

POST

Log an evaluation result to an evaluation run.

The run must have status ‘running’. One of result or error must be provided.

Path parameters

evaluation_idstringRequired

ID of the evaluation run. Starts with evrun_.

Query parameters

evaluatee_idstringOptional

String ID of evaluatee version to return. If not defined, the first evaluatee will be returned. Starts with evv_.

Request

This endpoint expects an object.
log_idstringRequired

The log that was evaluated. Must have as its source_datapoint_id one of the datapoints in the dataset being evaluated.

evaluator_idstringRequired

ID of the evaluator that evaluated the log. Starts with evfn_. Must be one of the evaluator IDs associated with the evaluation run being logged to.

resultboolean or integer or doubleOptional
The result value of the evaluation.
errorstringOptional
An error that occurred during evaluation.

Response

This endpoint returns an object
idstring
evaluator_idstring
evaluator_version_idstring
log_idstring
updated_atdatetime
created_atdatetime
evaluation_idstringOptional
logobjectOptional
Request model for logging a datapoint.
version_idstringOptional
versionanyOptional
valueboolean or double or string or list of stringsOptional
errorstringOptional
evaluator_logobjectOptional
Request model for logging a datapoint.

Errors