PUT
/
api
/
experiment
curl --request PUT \
  --url https://api.trieve.ai/api/experiment \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TR-Dataset: <tr-dataset>' \
  --data '{
  "experiment_config": {
    "area": "<string>",
    "control_name": "<string>",
    "control_split": 123,
    "t1_name": "<string>",
    "t1_split": 123
  },
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>"
}'
{
  "area": "<string>",
  "control_name": "<string>",
  "control_split": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "t1_name": "<string>",
  "t1_split": 123,
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Headers

TR-Dataset
string
required

The dataset id to use for the request

Body

application/json

JSON request payload to update an experiment

The body is of type object.

Response

200
application/json

Experiment updated successfully

The response is of type object.