---
title: "Pause a test"
method: POST
path: "/experiments/{id}/pause"
tags: ["Experiments"]
---

# Pause a test

`POST /experiments/{id}/pause`

## Request

- Base URL: `https://api.meetdarwin.ai/v1`
- URL: `https://api.meetdarwin.ai/v1/experiments/{id}/pause`
- Auth: HTTP bearer

Requires the `experiments:write` scope.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

OK

- Experiment
  - `id` string, required
  - `object` 'experiment', required
  - `name` string, required
  - `status` string, required: draft, ready, running, winner_found, applied, stopped, paused, failed or invalidated.
  - `internal_status` string, required
  - `pages` string[], required
  - `metric` string, required
  - `hypothesis` string, nullable, required
  - `winner` string, nullable, required
  - `verdict` string, nullable, required
  - `created_at` string, date-time, nullable, required
  - `started_at` string, date-time, nullable, required
  - `ended_at` string, date-time, nullable, required
  - `applied_at` string, date-time, nullable, required
  - `variants` object[], required
    - `id` string, required
    - `object` 'variant', required
    - `name` string, required
    - `control` boolean, required
    - `headline` string, required
    - `buttons` object[], required
      - `label` string, required
      - `message` string, required
      - `locked` boolean, required
    - `angle` string, nullable, required
    - `created_at` string, date-time, nullable, required
    - `results` object, nullable, required
      - `views` number, required
      - `stages` object, required
      - `rate` number, nullable, required
      - `rate_low` number, nullable, required
      - `rate_high` number, nullable, required
      - `chance_beats_current` number, nullable, required
      - `lift` number, nullable, required
      - `computed_at` string, date-time, nullable, required
  - `result` unknown

## Other responses

- `400`: Invalid request (`invalid_request`, `unsupported_version`).
- `401`: Missing or invalid key (`authentication_required`, `invalid_api_key`).
- `402`: The workspace must add a card before the API can be used (`payment_required`).
- `403`: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
- `404`: No such object in this workspace (`not_found`).
- `409`: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
- `422`: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
- `429`: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.

## Changes

- **2026-10-20** `f93b0bcb454a`: 24 info
  - added the optional property `feature` to the response with the `400` status
  - added the optional property `feature` to the response with the `401` status
  - added the optional property `feature` to the response with the `402` status
  - added the optional property `feature` to the response with the `403` status
  - …20 more

[Operation history](https://skmtc.dev/meetdarwin/apis/darwin-api/changes/experiments/:id/pause/post.md)

---

[API](https://skmtc.dev/meetdarwin/apis/darwin-api.md) · [All operations](https://skmtc.dev/meetdarwin/apis/darwin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/meetdarwin/apis/darwin-api/revisions/f93b0bcb454a?raw)
