Partially Update Autotune
Update selected properties of the experiment
https://statsigapi.net/console/v1/autotunes/{id}Authorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredid
Body
application/jsondescriptionstringA brief summary of what the autotune is being used for.
variantsobject[]An array of Variant objects.
Show child attributes
name[]stringrequiredVariant name
json[]unknownrequiredVariant JSON data
size[]numberVariant size
successEventstringThe event you are trying to optimize for.
successEventValuestringThe value that should come with the event for it to be considered successful.
explorationWindowstringThe initial time period where Autotune will equally split the traffic.
attributionWindowstringThe maximum duration between the exposure and success event that counts as a success.
attributionWindowUnitstringTime unit of attribution window
explorationWindowRatenumberExploration window rate
longtermExplorationAllocationnumberLong term exploration allocation
winnerThresholdstringThe "probability of best" threshold a variant needs to achieve for Autotune to declare it the winner, stop collecting data, and direct all traffic.
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
valueColumnstringMetric source column to optimize for
featureListstring[]List of features that should be included in the analysis
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
descriptionstringrequiredDetailed description of the configuration’s purpose.
variantsobject[]requiredname[]stringrequiredVariant name
json[]unknownrequiredVariant JSON data
size[]numberVariant size
id[]stringrequiredThe 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.
attributionWindowstringrequiredThe maximum duration between the exposure and success event that counts as a success.
attributionWindowUnitstringTime unit of attribution window
explorationWindowRatenumberExploration window rate
longtermExplorationAllocationnumberLong term exploration allocation
winnerThresholdstringrequiredThe "probability of best" threshold a variant needs to achieve for Autotune to declare it the winner, stop collecting data, and direct all traffic.
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
valueColumnstringMetric 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
inlineTargetingRulesobject[]A formatted array of the inline targeting rules
name[]stringrequiredThe name of this rule.
passPercentage[]numberrequiredOf the users that meet the conditions of this rule, what percent should return true.
conditions[]object[]requiredAn array of Condition objects.
targetValue[]oneOfoperator[]stringfield[]stringcustomID[]stringtype[]stringrequiredenvironments[]string[]The environments this rule is enabled for.
id[]stringThe Statsig ID of this rule.
baseID[]stringThe base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout
returnValue[]objectThe return value of the rule.
completedAutomatedRollouts[]object[]Read-only: Automated rollout phases that have already completed.
time[]numberpassPercent[]numberrequiredpendingAutomatedRollouts[]object[]Read-only: Automated rollout phases that are scheduled but not yet complete.
time[]numberpassPercent[]numberrequiredidstringrequiredID
namestringOptional name for the configuration.
idTypestringrequiredType of ID
lastModifierIDstringrequiredID of the last modifier.
lastModifiedTimenumberrequiredTime of the last modification.
lastModifierEmailstringrequiredEmail of the last modifier.
lastModifierNamestringrequiredName of the last modifier.
creatorIDstringrequiredID of the user who created the entity.
createdTimenumberrequiredTimestamp when the entity was created.
creatorNamestringrequiredName of the creator.
creatorEmailstringrequiredEmail of the creator.
tagsstring[]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.
teamIDstringOptional ID of the responsible team.
versionnumberVersion number
isStartedbooleanrequiredIs the autotune experiment currently running.
winnerobjectrequiredidstringrequiredThe Statsig UserID of the last modifier of this autotune.
namestringrequiredThe Statsig Username of the last modifier of this autotune.
statusintegerrequiredmessagestringrequiredstatusintegerrequiredmessagestringrequiredstatusintegerrequiredmessagestringrequiredWas this helpful?