Update Evaluation Status

PATCH

Update the status of an Evaluation.

Can be used to cancel a running Evaluation, or mark an Evaluation that uses external or human evaluators as completed.

Path parameters

idstringRequired

Unique identifier for Evaluation.

Request

This endpoint expects an object.
statusenumRequired
Allowed values: pendingrunningcompletedcancelled

Status of an evaluation.

Response

Successful Response

idstring

Unique identifier for the Evaluation. Starts with evr.

datasetobject

The Dataset used in the Evaluation.

evaluateeslist of objects

The Prompt/Tool Versions included in the Evaluation.

evaluatorslist of objects

The Evaluator Versions used to evaluate.

statusenum
Allowed values: pendingrunningcompletedcancelled

The current status of the Evaluation.

  • "pending": The Evaluation has been created but is not actively being worked on by Humanloop.
  • "running": Humanloop is checking for any missing Logs and Evaluator Logs, and will generate them where appropriate.
  • "completed": All Logs an Evaluator Logs have been generated.
  • "cancelled": The Evaluation has been cancelled by the user. Humanloop will stop generating Logs and Evaluator Logs.
created_atdatetime
updated_atdatetime
namestringOptional

Name of the Evaluation to help identify it. Must be unique among Evaluations associated with File.

file_idstringOptional

Unique identifier for the File associated with the Evaluation.

created_byanyOptional
urlstringOptional

URL to view the Evaluation on the Humanloop.

Errors