Result

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_.

Headers

X-API-KEYstringRequired

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

Successful Response
idstring
evaluator_idstring
evaluator_version_idstring
log_idstring
updated_atdatetime
created_atdatetime
evaluation_idstring or null
logobject or null
Request model for logging a datapoint.
version_idstring or null
versionany or null
valueboolean or double or string or list of strings or null
errorstring or null
evaluator_logobject or null
Request model for logging a datapoint.

Errors