Pin Evaluatee

POST

Pin the specified Evaluatee.

Pinned Evaluatees are always displayed in the Evaluation Overview, and serve as the baseline for comparison with other Evaluatees.

Path parameters

idstringRequired

Unique identifier for Evaluation.

Request

This endpoint expects an object.
version_idstringOptional

Unique identifier for the File Version. If provided, none of the other fields should be specified.

pathstringOptional

Path identifying a File. Provide either this or file_id if you want to specify a File.

file_idstringOptional

Unique identifier for the File. Provide either this or path if you want to specify a File.

environmentstringOptional

Name of the Environment a Version is deployed to. Only provide this when specifying a File. If not provided (and a File is specified), the default Environment is used.

batch_idstringOptional

Unique identifier for the batch of Logs to include in the Evaluation Report.

orchestratedbooleanOptional

Whether the Prompt/Tool is orchestrated by Humanloop. Default is True. If False, a log for the Prompt/Tool should be submitted by the user via the API.

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