Skip to navigation

Create and execute experiment

View as Markdown
Creates experiments for each prompt variant and asynchronously processes all dataset items

Request

This endpoint expects an object.
dataset_namestringRequired>=1 character
promptslist of objectsRequired
dataset_idstringRequiredformat: "uuid"
dataset_version_idstringOptionalformat: "uuid"
project_namestringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"0-150 characters
project_idstringOptionalformat: "uuid"
version_hashstringOptional
prompt_versionslist of objectsOptional
selected_rule_idslist of stringsOptional
filtersstringOptional

Response

Experiments created and processing started
experimentslist of objectsOptional
total_itemsintegerOptional

Errors

400
Bad Request Error
403
Forbidden Error
429
Too Many Requests Error