---
title: "Patch Experiment"
method: PATCH
path: "/api/experiments/{key}"
tags: ["Experiments"]
---

# Patch Experiment

`PATCH /api/experiments/{key}`

## Path parameters

- `key` string, required

## Headers

- `x-admin-token` string, nullable

## Request body

- ExperimentPatch
  - `slug` string, nullable
  - `owner` string, nullable
  - `version` integer, nullable
  - `funnel_id` string, nullable
  - `funnel_stage` string, nullable
  - `subject_type` string, nullable
  - `arms` ArmSpec[], nullable
    - `label` string, required
    - `weight` integer
    - `change` string, nullable
  - `salt` string, nullable
  - `event_from` string, nullable
  - `event_to` string, nullable
  - `hypothesis` string, nullable
  - `mde_rel` number, nullable
  - `target_n_per_arm` integer, nullable
  - `status` string, nullable
  - `started_at` string, date-time, nullable
  - `ended_at` string, date-time, nullable
  - `task_id` integer, nullable
  - `meta` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
