---
title: "Submit What If"
method: POST
path: "/v1/analyses/what-if"
---

# Submit What If

`POST /v1/analyses/what-if`

## Request

- Base URL: `https://api.plymove.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.plymove.com/v1/analyses/what-if`
- Auth: none declared

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable
- `X-Payment-Context` string, nullable

## Request body

- WhatIfRequest
  - `pgn` string, nullable
  - `analysis_id` string, nullable
  - `anchor_ply` integer, nullable
  - `move_label` string, nullable
  - `alternative_move_san` string, required
  - `target_elo` integer, required
  - `analysis_profile` string
  - `max_branch_plies` integer, nullable
  - `engine_depth` integer
  - `idempotency_key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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