Finish Experiment Early

puthttps://statsigapi.net/console/v1/experiments/{id}/make_decision

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

idstringrequired

id

Body

application/json
idstringrequired

The ID of the group to launch

decisionReasonstringrequired

The reason for making the decision to update the experiment status

removeTargetingboolean

Indicates whether to remove targeting from the experiment

holdoutinteger

Integer percentage of users to hold back when shipping with holdback. Must be an integer between 0 and 50 (inclusive): the launched group size is computed as 100 - holdout * 2, so values above 50 would produce a negative-sized launched group. When set, the experiment remains live with a holdback group so long-term impact can be measured before making a final decision. Requires the ship_experiment_with_holdout gate to be enabled for the project.

Response

application/json
200Make Experiment Decision Success
messagestring
400Experiment has not yet started
statusintegerrequired
messagestringrequired
401This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
messagestringrequired
404Experiment not found.
statusintegerrequired
messagestringrequired

Was this helpful?