---
title: "Create Experiment"
method: POST
path: "/api/experiments/registry"
tags: ["Experiments"]
---

# Create Experiment

`POST /api/experiments/registry`

## Headers

- `x-admin-token` string, nullable

## Request body

- ExperimentCreate
  - `key` string, required
  - `slug` string, required
  - `arms` ArmSpec[], required
    - `label` string, required
    - `weight` integer
    - `change` string, nullable
  - `owner` string, required
  - `funnel_stage` string, required
  - `subject_type` string
  - `funnel_id` 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
  - `started_at` string, date-time, nullable
  - `ended_at` string, date-time, nullable
  - `task_id` integer, nullable
  - `version` integer

## 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)
