Update Evaluation Run

PATCH

Update an Evaluation Run.

Specify control=true to use this Run as the control Run for the Evaluation. You can cancel a running/pending Run, or mark a Run that uses external or human Evaluators as completed.

Path parameters

idstringRequired

Unique identifier for Evaluation.

run_idstringRequired

Unique identifier for Run.

Request

This endpoint expects an object.
controlbooleanOptional

If True, this Run will be used as the control in the Evaluation. Stats for other Runs will be compared to this Run. This will replace any existing control Run.

statusenumOptional
Allowed values: pendingrunningcompletedcancelled

Used to set the Run to cancelled or completed. Can only be used if the Run is currently pending or running.

Response

Successful Response

idstring

Unique identifier for the Run.

orchestratedboolean

Whether the Run is orchestrated by Humanloop.

added_atdatetime

When the Run was added to the Evaluation.

created_atdatetime

When the Run was created.

statusenum
Allowed values: pendingrunningcompletedcancelled

The status of the Run.

controlboolean

Stats for other Runs will be displayed in comparison to the control Run.

datasetobjectOptional

The Dataset used in the Run.

versionobjectOptional

The version used in the Run.

created_byanyOptional

The User who created the Run.

Errors