List Autotune
curl --request GET \
--url https://statsigapi.net/console/v1/autotunes \
--header 'STATSIG-API-KEY: <api-key>'import requests
url = "https://statsigapi.net/console/v1/autotunes"
headers = {"STATSIG-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'STATSIG-API-KEY': '<api-key>'}};
fetch('https://statsigapi.net/console/v1/autotunes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://statsigapi.net/console/v1/autotunes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"STATSIG-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://statsigapi.net/console/v1/autotunes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("STATSIG-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://statsigapi.net/console/v1/autotunes")
.header("STATSIG-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://statsigapi.net/console/v1/autotunes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["STATSIG-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Autotune Experiments listed successfully.",
"data": [
{
"id": "test_autotune_exp",
"name": "test_autotune_exp",
"description": "dsdsdsd test",
"idType": "userID",
"lastModifierID": "24hiIXz1maFaDwtYEetv2i",
"lastModifiedTime": 1716324033128,
"lastModifierName": "jairo Garciga",
"lastModifierEmail": "jairo@statsig.com",
"creatorID": "5sgBiiuoBX4fscrWdCXVma",
"createdTime": 1688072516890,
"creatorName": "Samuel Kitono",
"creatorEmail": "samuel@statsig.com",
"targetApps": [],
"holdoutIDs": [],
"tags": [],
"team": null,
"isStarted": false,
"variants": [
{
"name": "test_12",
"id": "7eOW6aXU7F07KxrggOrAdy",
"json": {
"user": {
"id": 12345,
"name": "Jane Doe",
"email": "jane.doe@example.com",
"isActive": true,
"roles": [
"admin",
"editor",
"subscriber"
]
},
"posts": [
{
"id": 1,
"title": "Introduction to JSON5",
"content": "JSON5 is a superset of JSON that aims to be easier for humans to write and maintain.",
"tags": [
"json5",
"json",
"javascript"
],
"comments": [
{
"id": 101,
"author": "John Smith",
"content": "Great post! Very informative.",
"likes": 5
},
{
"id": 102,
"author": "Alice Johnson",
"content": "I found this very helpful. Thanks!",
"likes": 3
}
]
},
{
"id": 2,
"title": "Advanced JSON5 Features",
"content": "Explore the advanced features of JSON5, including comments, trailing commas, and more.",
"tags": [
"json5",
"advanced",
"features"
],
"comments": [
{
"id": 201,
"author": "Bob Brown",
"content": "I didn't know JSON5 could do this. Amazing!",
"likes": 8
}
]
}
],
"settings": {
"theme": "dark",
"notificationsEnabled": true,
"language": "en-US",
"layout": {
"header": true,
"footer": true,
"sidebar": "collapsed"
}
},
"metadata": {
"version": "1.0.0",
"author": "Jane Doe",
"lastUpdated": "2024-05-21T10:00:00Z"
}
}
},
{
"name": "var1",
"id": "7eOW6cCWzX9C3WZbRWndwA",
"json": {}
},
{
"name": "control",
"id": "7GVLLJOBETDYXLn00FXFuQ",
"json": {}
}
],
"successEvent": "add_to_cart",
"successEventValue": "",
"explorationWindow": "24hrs",
"attributionWindow": "2hrs",
"winnerThreshold": "95%",
"winner": null
}
],
"pagination": {
"itemsPerPage": 100,
"pageNumber": 1,
"totalItems": 1,
"nextPage": null,
"previousPage": null,
"all": "/console/v1/autotunes"
}
}Autotunes
List Autotune
GET
/
console
/
v1
/
autotunes
List Autotune
curl --request GET \
--url https://statsigapi.net/console/v1/autotunes \
--header 'STATSIG-API-KEY: <api-key>'import requests
url = "https://statsigapi.net/console/v1/autotunes"
headers = {"STATSIG-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'STATSIG-API-KEY': '<api-key>'}};
fetch('https://statsigapi.net/console/v1/autotunes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://statsigapi.net/console/v1/autotunes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"STATSIG-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://statsigapi.net/console/v1/autotunes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("STATSIG-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://statsigapi.net/console/v1/autotunes")
.header("STATSIG-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://statsigapi.net/console/v1/autotunes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["STATSIG-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Autotune Experiments listed successfully.",
"data": [
{
"id": "test_autotune_exp",
"name": "test_autotune_exp",
"description": "dsdsdsd test",
"idType": "userID",
"lastModifierID": "24hiIXz1maFaDwtYEetv2i",
"lastModifiedTime": 1716324033128,
"lastModifierName": "jairo Garciga",
"lastModifierEmail": "jairo@statsig.com",
"creatorID": "5sgBiiuoBX4fscrWdCXVma",
"createdTime": 1688072516890,
"creatorName": "Samuel Kitono",
"creatorEmail": "samuel@statsig.com",
"targetApps": [],
"holdoutIDs": [],
"tags": [],
"team": null,
"isStarted": false,
"variants": [
{
"name": "test_12",
"id": "7eOW6aXU7F07KxrggOrAdy",
"json": {
"user": {
"id": 12345,
"name": "Jane Doe",
"email": "jane.doe@example.com",
"isActive": true,
"roles": [
"admin",
"editor",
"subscriber"
]
},
"posts": [
{
"id": 1,
"title": "Introduction to JSON5",
"content": "JSON5 is a superset of JSON that aims to be easier for humans to write and maintain.",
"tags": [
"json5",
"json",
"javascript"
],
"comments": [
{
"id": 101,
"author": "John Smith",
"content": "Great post! Very informative.",
"likes": 5
},
{
"id": 102,
"author": "Alice Johnson",
"content": "I found this very helpful. Thanks!",
"likes": 3
}
]
},
{
"id": 2,
"title": "Advanced JSON5 Features",
"content": "Explore the advanced features of JSON5, including comments, trailing commas, and more.",
"tags": [
"json5",
"advanced",
"features"
],
"comments": [
{
"id": 201,
"author": "Bob Brown",
"content": "I didn't know JSON5 could do this. Amazing!",
"likes": 8
}
]
}
],
"settings": {
"theme": "dark",
"notificationsEnabled": true,
"language": "en-US",
"layout": {
"header": true,
"footer": true,
"sidebar": "collapsed"
}
},
"metadata": {
"version": "1.0.0",
"author": "Jane Doe",
"lastUpdated": "2024-05-21T10:00:00Z"
}
}
},
{
"name": "var1",
"id": "7eOW6cCWzX9C3WZbRWndwA",
"json": {}
},
{
"name": "control",
"id": "7GVLLJOBETDYXLn00FXFuQ",
"json": {}
}
],
"successEvent": "add_to_cart",
"successEventValue": "",
"explorationWindow": "24hrs",
"attributionWindow": "2hrs",
"winnerThreshold": "95%",
"winner": null
}
],
"pagination": {
"itemsPerPage": 100,
"pageNumber": 1,
"totalItems": 1,
"nextPage": null,
"previousPage": null,
"all": "/console/v1/autotunes"
}
}Authorizations
Headers
Optional header to respect review settings for mutation endpoints.
Response
200 - application/json
Autotune Experiments listed successfully.
⌘I

