Read Autotune
https://statsigapi.net/console/v1/autotunes/{id}Authorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredid
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
descriptionstringrequiredDetailed description of the configuration’s purpose.
variantsobject[]requirednamestringrequiredVariant name
jsonunknownrequiredVariant JSON data
sizenumberVariant size
idstringrequiredThe name that was originally given to the autotune on creation but formatted as an ID ("A Autotune" -> "a_autotune").
successEventstringrequiredThe event you are trying to optimize for.
successEventValuestringrequiredThe value that should come with the event for it to be considered successful.
explorationWindowstringrequiredThe initial time period where Autotune will equally split the traffic.
1hr24hr48hr168hr336hr124481683361hrs24hrs48hrs168hrs336hrsattributionWindowstringrequiredThe maximum duration between the exposure and success event that counts as a success.
1hr2hr4hr24hr1hrs2hrs4hrs24hrs12424attributionWindowUnitstringTime unit of attribution window
minhourdayexplorationWindowRatenumberExploration window rate
format: doublemin: 0.001max: 1longtermExplorationAllocationnumberLong term exploration allocation
format: doublemin: 0.001max: 1winnerThresholdstringrequiredThe "probability of best" threshold a variant needs to achieve for Autotune to declare it the winner, stop collecting data, and direct all traffic.
80%90%95%98%99%metadataFieldstringMetadata field containing the numeric value to optimize for. If this field is null, autotune optimizes for the existence of a follow-up event. This is only used for contextual autotunes.
higherIsBetterbooleanWhether to optimize for an increase or decrease in the metadata field value. Default is true. This is only used for contextual autotunes.
isContextualbooleanWhether this is a contextual autotune
metricSourceIDstringMetric source to pull success event data from
linkedExperimentNamestringLinked experiment to measure the success of the Autotune
goalRichTextstringAutotune goal
optimizationParameterstringOptimize for event occurrence vs value
occurrencevaluevalueColumnstringMetric source column to optimize for
featureListstring[]List of features that should be included in the analysis
inlineTargetingRulesJSONstringA raw JSON string of the inline targeting rules
nullableinlineTargetingRulesobject[]A formatted array of the inline targeting rules
namestringrequiredThe name of this rule.
passPercentagenumberrequiredOf the users that meet the conditions of this rule, what percent should return true.
min: 0max: 100conditionsobject[]requiredAn array of Condition objects.
targetValueoneOfnullablestring[]number[]stringnumberoperatorstringfieldstringnullablecustomIDstringnullabletypestringrequiredapp_versionbrowser_namebrowser_versioncountrycustom_fieldemailenvironment_tierfails_gatefails_segmentip_addresslocaleos_nameos_versionpasses_gatepasses_segmentpublictimeunit_iduser_iduser_agenturljavascriptdevice_modeltarget_appexperiment_groupenvironmentsstring[]The environments this rule is enabled for.
nullableidstringThe Statsig ID of this rule.
baseIDstringThe base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout
returnValueobjectThe return value of the rule.
completedAutomatedRolloutsobject[]Read-only: Automated rollout phases that have already completed.
timenumberpassPercentnumberrequiredpendingAutomatedRolloutsobject[]Read-only: Automated rollout phases that are scheduled but not yet complete.
timenumberpassPercentnumberrequiredidstringrequiredID
namestringOptional name for the configuration.
idTypestringrequiredType of ID
lastModifierIDstringrequiredID of the last modifier.
nullablelastModifiedTimenumberrequiredTime of the last modification.
format: doublenullablelastModifierEmailstringrequiredEmail of the last modifier.
nullablelastModifierNamestringrequiredName of the last modifier.
nullablecreatorIDstringrequiredID of the user who created the entity.
nullablecreatedTimenumberrequiredTimestamp when the entity was created.
format: doublecreatorNamestringrequiredName of the creator.
nullablecreatorEmailstringrequiredEmail of the creator.
nullabletagsstring[]Optional tags for categorization.
targetAppsstring[]List of target applications associated with this configuration.
holdoutIDsstring[]Holdouts applied to this configuration.
teamstringOptional name for the responsible team.
nullableteamIDstringOptional ID of the responsible team.
nullableversionnumberVersion number
format: doubleisStartedbooleanrequiredIs the autotune experiment currently running.
winnerobjectrequirednullableidstringrequiredThe Statsig UserID of the last modifier of this autotune.
namestringrequiredThe Statsig Username of the last modifier of this autotune.
statusintegerrequired401messagestringrequiredstatusintegerrequired404messagestringrequiredWas this helpful?