Update a single fact metric
Authorizations
If using Bearer auth, pass the Secret Key as the token:
Path Parameters
The id of the requested resource
Body
10000The userId or email address of the owner. If an email address is provided, it will be used to look up the userId of the matching organization member. If an ID is provided, it will be validated as existing in the organization.
proportion, retention, mean, quantile, ratio, dailyParticipation Only when metricType is 'ratio'
Set to true for things like Bounce Rate, where you want the metric to decrease
Controls the settings for quantile metrics (mandatory if metricType is "quantile")
Controls how outliers are handled
Controls the conversion window for the metric
Controls the bayesian prior for the metric. If omitted, organization defaults will be used.
Controls the regression adjustment (CUPED) settings for the metric
No longer used. Threshold for Risk to be considered low enough, as a proportion (e.g. put 0.0025 for 0.25%).
Must be a non-negative number and must not be higher than riskThresholdDanger.
x >= 0No longer used. Threshold for Risk to be considered too high, as a proportion (e.g. put 0.0125 for 1.25%).
Must be a non-negative number.
x >= 0If true and the metric is a ratio or dailyParticipation metric, variation means will be displayed as a percentage. Defaults to true for dailyParticipation metrics and false for ratio metrics.
Minimum percent change to consider uplift significant, as a proportion (e.g. put 0.005 for 0.5%)
x >= 0Maximum percent change to consider uplift significant, as a proportion (e.g. put 0.5 for 50%)
x >= 0x >= 0x >= 0Set this to "api" to disable editing in the GrowthBook UI
, api, admin Array of slice column names that will be automatically included in metric analysis. This is an enterprise feature.
Response
Resource created

