---
title: "Recompute a valuation with changed assumptions WITHOUT saving anything: \"what if WACC inputs, growth, margin, working capital or the terminal growth were different?\""
method: POST
path: "/api/v1/valuation_what_if"
---

# Recompute a valuation with changed assumptions WITHOUT saving anything: "what if WACC inputs, growth, margin, working capital or the terminal growth were different?"

`POST /api/v1/valuation_what_if`

## Request

- Base URL: `https://k-phi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://k-phi.com/api/v1/valuation_what_if`
- Auth: HTTP bearer

Recompute a valuation with changed assumptions WITHOUT saving anything: "what if WACC inputs, growth, margin, working capital or the terminal growth were different?". Pass changes as a map of input path to value, e.g. {"terminal.growth": 0.025, "cash_flows.drivers.base.ebitda_margin": 0.22, "market.risk_free": 0.04}. Rates are decimals (0.025 = 2.5%). Returns the new snapshot and the change against the saved case.

## Request body

- object
  - `case_id` string, required: The valuation case id, from kphi_list_valuations.
  - `changes` object, required: Input path -> new numeric value.

## Response `200`

OK

- object
  - `data` object
  - `meta` object
    - `api` string
    - `capability` string
    - `at` string

## Other responses

- `401`: No or invalid credential
- `403`: Scope, extension or Builder Mode refused
- `422`: The capability refused the input
- `429`: Rate or daily quota reached

---

[API](https://skmtc.dev/k-phi/apis/k-api.md) · [All operations](https://skmtc.dev/k-phi/apis/k-api/llms.txt) · [OpenAPI document](https://skmtc.dev/k-phi/apis/k-api/revisions/60b28690ec35?raw)
