curl --request POST \
--url https://statsigapi.net/console/v1/autotunes/{id} \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '{
"id": "my_autotunes_are_best",
"isStarted": false,
"description": "helpful summary of what this Autotune is",
"lastModifierID": "ahKwUoaNauHu9AmJPc2",
"lastModifierName": "CONSOLE API",
"variants": [
{
"name": "red",
"json": {
"foo": "boo"
}
},
{
"name": "blue",
"json": {}
}
],
"successEvent": "purchase_item",
"successEventValue": "",
"explorationWindow": "1hr",
"attributionWindow": "2hrs",
"winnerThreshold": "99%",
"idType": "userID"
}'
{
"message": "Autotune Experiment read successfully.",
"data": {
"id": "my_autotunes_are_best",
"isStarted": false,
"description": "helpful summary of what this Autotune is",
"lastModifierID": "jd93DGSnvkauH9FijdGiajh",
"lastModifierName": "CONSOLE API",
"variants": [
{
"name": "red",
"json": {
"color": "red"
}
},
{
"name": "blue",
"json": {
"color": "blue"
}
}
],
"successEvent": "purchase_item",
"successEventValue": "",
"explorationWindow": "1hr",
"attributionWindow": "2hrs",
"winnerThreshold": "99%"
}
}
Update all properties of the experiment
curl --request POST \
--url https://statsigapi.net/console/v1/autotunes/{id} \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '{
"id": "my_autotunes_are_best",
"isStarted": false,
"description": "helpful summary of what this Autotune is",
"lastModifierID": "ahKwUoaNauHu9AmJPc2",
"lastModifierName": "CONSOLE API",
"variants": [
{
"name": "red",
"json": {
"foo": "boo"
}
},
{
"name": "blue",
"json": {}
}
],
"successEvent": "purchase_item",
"successEventValue": "",
"explorationWindow": "1hr",
"attributionWindow": "2hrs",
"winnerThreshold": "99%",
"idType": "userID"
}'
{
"message": "Autotune Experiment read successfully.",
"data": {
"id": "my_autotunes_are_best",
"isStarted": false,
"description": "helpful summary of what this Autotune is",
"lastModifierID": "jd93DGSnvkauH9FijdGiajh",
"lastModifierName": "CONSOLE API",
"variants": [
{
"name": "red",
"json": {
"color": "red"
}
},
{
"name": "blue",
"json": {
"color": "blue"
}
}
],
"successEvent": "purchase_item",
"successEventValue": "",
"explorationWindow": "1hr",
"attributionWindow": "2hrs",
"winnerThreshold": "99%"
}
}
Optional header to respect review settings for mutation endpoints.
id
Autotune object
Fully Update Autotune Success
The response is of type object
.