---
title: "Post Edit Reach Curve"
method: POST
path: "/proof-of-concept/rco/edit-reach-curve"
tags: ["Proof of Concept", "chat_explore"]
---

# Post Edit Reach Curve

`POST /proof-of-concept/rco/edit-reach-curve`

## Request body

- EditReachCurvePayload
  - `selectedCurve` ReachCurveInput, required — TODO: NOTE: THIS PURELY TO HANDLE FE, AS A SHIM. REMOVE AT THE EARLIEST A Hill function Reach Curve defined by a, k, n, and c parameters as follows: f(x) = a * (x**n / (k**n + x**n)) + c
    - `a` number, required — The a parameter of the reach curve
    - `k` number, required — The k parameter of the reach curve
    - `n` number, required — The n parameter of the reach curve
    - `c` number, required — The c parameter of the reach curve
    - `x_min` number, required — The minimum x value of the curve
    - `x_max` number, required — The maximum x value of the curve
    - `target_size` integer — The target size of the curve
    - `min_cpm` number — The minimum CPM of the curve
    - `cpm_curve` CPMCurve — An Inverse exponential decay Reach Curve defined by a, b, and c parameters as follows: f(x) = a + b * (x - c) ^ d
      - `a` number, required — The baseline cost level.
      - `b` number, required — The slope of the cost curve.
      - `c` number, required — The knee point of the cost curve.
      - `d` number, required — The curvature of the cost curve.
  - `response_unit` 'REACH' | 'REACH_PCT' | 'IMPRESSIONS' | 'IMPRESSIONS_PCT' | 'VISITS', required
  - `allocation_unit` 'GRP' | 'COST' | 'IMPRESSIONS', required
  - `newCpm` number, nullable — New CPM
  - `newReach` number, nullable — New Reach
  - `newGrps` number, nullable — New GRP

## Response `200`

Successful Response

- ReachCurveOutput — TODO: NOTE: THIS PURELY TO HANDLE FE, AS A SHIM. REMOVE AT THE EARLIEST A Hill function Reach Curve defined by a, k, n, and c parameters as follows: f(x) = a * (x**n / (k**n + x**n)) + c
  - `a` number, required — The a parameter of the reach curve
  - `k` number, required — The k parameter of the reach curve
  - `n` number, required — The n parameter of the reach curve
  - `c` number, required — The c parameter of the reach curve
  - `x_min` number, required — The minimum x value of the curve
  - `x_max` number, required — The maximum x value of the curve
  - `target_size` integer — The target size of the curve
  - `min_cpm` number — The minimum CPM of the curve
  - `cpm_curve` CPMCurve — An Inverse exponential decay Reach Curve defined by a, b, and c parameters as follows: f(x) = a + b * (x - c) ^ d
    - `a` number, required — The baseline cost level.
    - `b` number, required — The slope of the cost curve.
    - `c` number, required — The knee point of the cost curve.
    - `d` number, required — The curvature of the cost curve.
  - `knee` number, required — The knee is the 'Optimal' number of GRPs.
  - `max_reach` number, required — The maximum reach of the curve.
  - `freq` number, required — The frequency.
  - `unoptimizable` boolean, required — Whether the curve is unoptimizable.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/akkio/apis/fastapi.md) · [All operations](https://skmtc.net/akkio/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akkio/fastapi/revisions/6662a407c637/schema)
