Create

POST
Create an evaluation.

Path parameters

project_idstringRequired

String ID of project. Starts with pr_.

Request

This endpoint expects an object.
config_idstringRequired

ID of the config to evaluate. Starts with config_.

evaluator_idslist of stringsRequired

IDs of evaluators to run on the dataset. IDs start with evfn_

dataset_idstringRequired

ID of the dataset to use in this evaluation. Starts with evts_.

provider_api_keysobjectOptional
API keys required by each provider to make API calls. The API keys provided here are not stored by Humanloop. If not specified here, Humanloop will fall back to the key saved to your organization. Ensure you provide an API key for the provider for the model config you are evaluating, or have one saved to your organization.
hl_generatedbooleanOptional

Whether the log generations for this evaluation should be performed by Humanloop. If False, the log generations should be submitted by the user via the API.

Response

This endpoint returns an object
idstring

Unique ID for the evaluation. Starts with ev_.

statusenum
Allowed values: pendingrunningcompletedcancelled
Status of an evaluation.
configobject
created_atdatetime
updated_atdatetime
evaluatorslist of objects
datasetobject
dataset_version_idstring
dataset_snapshotobjectOptional
evaluator_aggregateslist of objectsOptional

Errors