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"
}
Update an experiment. Auth’ed user must be an owner of the organization to update an 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"
}
The dataset id to use for the request
JSON request payload to update an experiment
The body is of type object
.
Experiment updated successfully
The response is of type object
.
Was this page helpful?