Result

Log an evaluation result to an evaluation run.

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

Authentication

X-API-KEYstring
API Key authentication via header

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

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

Errors

422
Evaluations Result Request Unprocessable Entity Error