Skip to navigation

Record experiment items in bulk

View as Markdown
Record experiment items in bulk with traces, spans, and feedback scores. Maximum request size is 4MB.

Request

This endpoint expects an object.
experiment_namestringRequired>=1 character
dataset_namestringRequired>=1 character
itemslist of objectsRequired
experiment_idstringOptionalformat: "uuid"
Optional experiment ID. If provided, items will be added to the existing experiment and experimentName will be ignored. If not provided or experiment with that ID doesn't exist, a new experiment will be created with the given experimentName
project_namestringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"

Project for traces auto-created from items that provide evaluate_task_result (i.e. without an explicit trace). If null, the default project is used; relying on this fallback is deprecated, please provide project_name explicitly.

Response

No content

Errors

400
Bad Request Error
409
Conflict Error
422
Unprocessable Entity Error