---
title: "Update Experiment"
method: PUT
path: "/api/v1/experiments/{experiment_id}"
tags: ["Experiments"]
---

# Update Experiment

`PUT /api/v1/experiments/{experiment_id}`

## Request

- Base URL: `https://api.adrex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adrex.ai/api/v1/experiments/{experiment_id}`
- Auth: HTTP bearer

Update experiment settings (only when draft or paused).

## Path parameters

- `experiment_id` integer, required

## Request body

- ExperimentUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `primary_metric` string, nullable
  - `min_duration_days` integer, nullable
  - `max_duration_days` integer, nullable
  - `min_impressions_per_variant` integer, nullable
  - `traffic_split_pct` integer, nullable
  - `confidence_threshold` number, nullable
  - `auto_apply_winner` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
