Evaluations

Log

POST

Log an external generation to an evaluation run for a datapoint.

The run must have status ‘running’.

Path parameters

evaluation_idstringRequired

ID of the evaluation run. Starts with evrun_.

Request

This endpoint expects an object.
datapoint_id
stringRequired
The datapoint for which a log was generated. Must be one of the datapoints in the dataset being evaluated.
log
objectRequired
The log generated for the datapoint.

Response

This endpoint returns an object
id
string

String ID of logged datapoint. Starts with data_.

project_id
string

String ID of project the datapoint belongs to. Starts with pr_.

session_id
stringOptional

String ID of session the datapoint belongs to. Populated only if the datapoint was logged with session_id or session_reference_id, and is None otherwise. Starts with sesh_.

Errors