Experiments

Conclude experiment

Conclude an experiment on a winning variant. The experiment moves to DECISION_MADE status, the outcome is recorded in its conclusion, and for a flag-backed experiment the winning variant is rolled out to 100% of the linked feature flag allocation. decision_variant_key must match a variant in the experiment. Only an experiment that is currently running or ready for a decision can be concluded. Concluding is not reversible and is not idempotent: concluding an already-concluded experiment returns 409.

post/api/v2/experiments/{experiment_id}/conclude

Request

Path parameters

experiment_idstring uuid required

The UUID of the experiment.

Example:550e8400-e29b-41d4-a716-446655440000

Request body

Example request

{
  "data": {
    "attributes": {
      "decision_variant_key": "treatment"
    },
    "type": "conclude-experiment-request"
  }
}

Response

The experiment was concluded and the winning variant was rolled out to its linked feature flag allocation.

Changes

Changes to this operation have not been checked yet.