Create Gate Review
https://statsigapi.net/console/v1/gates/{id}/reviewsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredBody
application/jsondescriptionstringrequiredHuman-readable description of the proposed change.
reviewer_idsstring[]User IDs to request review from.
reviewer_group_idsstring[]Reviewer group IDs to request review from.
changeobjectrequiredThe proposed change. Provide exactly one of the fields in v1.
Show child attributes
rulesobject[]Proposed full rule set for the gate. Same shape as the gate update contract.
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[]numberrequiredis_enabledbooleanProposed enabled state for the gate. An explicit target, not a toggle.
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
review_idstringrequiredUnique ID of the review.
statusstringrequiredLifecycle status of the review.
typestringrequiredKind of change the review proposes.
authorobjectrequiredThe user who created the review.
idstringrequiredemailstringrequiredreviewersobject[]requiredRequested reviewers (users and groups).
id[]stringrequiredkind[]stringrequireddescriptionstringrequiredHuman-readable description of the proposed change.
created_atstringrequiredISO-8601 timestamp of when the review was created.
Was this helpful?