---
title: "Preview Experiment Sizing"
method: POST
path: "/admin/experiments/preview-sizing"
tags: ["admin", "experiments"]
---

# Preview Experiment Sizing

`POST /admin/experiments/preview-sizing`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/experiments/preview-sizing`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- SizingPreviewRequest
  - `scope` ExperimentTypedReference, required
    - `type` string, required
    - `id` string, required
  - `primary_metric_key` string, required
  - `enrollment_percentage` union
    - number
    - string
  - `relative_mde` union
    - number
    - string
  - `participants` ExperimentParticipantInput[]
    - `organization_id` string, required
    - `agent_v2_id` string, required

## Response `200`

Successful Response

- SizingPreview
  - `is_sizable` boolean, required
  - `reason` string, nullable
  - `baseline_rate` number, nullable, required
  - `relative_mde` number, required
  - `target_exposures` integer, nullable, required
  - `estimated_days` integer, nullable, required
  - `exceeds_cap` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/86e2c2bd93af?raw)
