POST
/v1/private/experimentsCreate experimentCreate experiment
Request body
application/json
objectExperiment_Write
dataset_namenull | stringrequireddataset_version_idstring · uuidID of the dataset version this experiment is linked to. If not provided at creation, experiment will be automatically linked to the latest version.
evaluation_methodstringexperiment_scoresarray of objectShow child attributes
Show array items
namestringrequiredvaluenumberrequiredidstring · uuidmetadataobjectShow child attributes
anyOf · 3 options
Option 1object
Option 2array of object
Option 3string
namestringoptimization_idstring · uuidproject_idstring · uuidProject ID. Takes precedence over project_name when both are provided.
project_namestringProject name. Creates project if it doesn't exist. Ignored when project_id is provided.
prompt_versionobjectShow child attributes
idstring · uuidrequiredprompt_versionsarray of objectShow child attributes
statusstringtagsarray of stringShow child attributes
typestring{
"dataset_name": "string",
"dataset_version_id": "00000000-0000-0000-0000-000000000000",
"evaluation_method": "dataset",
"experiment_scores": [
{
"name": "string",
"value": 0
}
],
"id": "00000000-0000-0000-0000-000000000000",
"metadata": {},
"name": "string",
"optimization_id": "00000000-0000-0000-0000-000000000000",
"project_id": "00000000-0000-0000-0000-000000000000",
"project_name": "string",
"prompt_version": {
"id": "00000000-0000-0000-0000-000000000000"
},
"prompt_versions": [
{
"id": "00000000-0000-0000-0000-000000000000"
}
],
"status": "cancelled",
"tags": [
"string"
],
"type": "mini-batch"
}Responses
Headers
Location