evaluations

Result

Log an evaluation result to an evaluation run.

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

post/evaluations/{evaluation_id}/result

Request

  • Base URL: https://api.humanloop.com/v4
  • URL: https://api.humanloop.com/v4/evaluations/{evaluation_id}/result
  • Auth: API key in header X-API-KEY

Path parameters

evaluation_idstring required

ID of the evaluation run. Starts with evrun_.

Query parameters

evaluatee_idstring

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

Request body

log_idstring required

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

evaluator_idstring required

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.

errorstring

An error that occurred during evaluation.

Response

Successful Response

idstring required
evaluator_idstring required
evaluator_version_idstring required
evaluation_idstring
log_idstring required
version_idstring
versionunknown
errorstring
updated_atstring date-time required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.