Skip to main content
POST
/
v1
/
datasets
/
{dataset_id}
/
experiments
{
  "data": {
    "id": "<string>",
    "dataset_id": "<string>",
    "dataset_version_id": "<string>",
    "repetitions": 123,
    "metadata": {},
    "project_name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

dataset_id
string
required

Body

application/json

Details of the experiment to be created

name
string | null

Name of the experiment (if omitted, a random name will be generated)

description
string | null

An optional description of the experiment

metadata
object | null

Metadata for the experiment

version_id
string | null

ID of the dataset version over which the experiment will be run (if omitted, the latest version will be used)

repetitions
integer
default:1

Number of times the experiment should be repeated for each example

Response

Experiment retrieved successfully

data
object
required