---
title: "Make an assumption"
method: POST
path: "/v1/price-baseline/assumptions"
tags: ["Contract Pricing"]
---

# Make an assumption

`POST /v1/price-baseline/assumptions`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/price-baseline/assumptions`
- Auth: HTTP bearer

Records a value assumed where no source exists. Every number or plan amount built on it is marked as assumed and never counts as independent; a real value arriving replaces it with no action. Rules: `value` needs `value` (except for target kind `profile`); `carry_forward` applies to target kind `series` only; `proxy` and target kind `profile` need `params.series`; the target `*` (a default for every series) is allowed only as target kind `series` with rule `carry_forward`. Violations are 422. The record notes the creating key as `api:<key id>`.

## Request body

- PriceBaselineAssumptionInput
  - `contract_key` string, nullable: The contract it applies to; null or absent applies to every contract of the workspace.
  - `target_kind` 'series' | 'variable' | 'quantity' | 'profile', required: What the assumption stands in for: an index series, a contract value (by variable name), a price's billing quantity (by component key), or how annual energy spreads over the months (`profile`, target `energy`).
  - `target` string, required: Series key, variable name or component key; `*` is a workspace default for every series.
  - `period_from` string, nullable
  - `period_to` string, nullable
  - `rule` 'value' | 'carry_forward' | 'proxy', required: `value` this number; `carry_forward` the last real value before the period; `proxy` another series' value times `params.factor`.
  - `value` number, nullable
  - `unit` string, nullable
  - `params` object
    - `series` string: The series a proxy or profile is derived from.
    - `factor` number
  - `note` string, nullable: Why the assumption is made.

## Response `201`

The stored assumption.

- PriceBaselineAssumptionRecord
  - [`PriceBaselineAssumption`](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e/schema?at=%2Fcomponents%2Fschemas%2FPriceBaselineAssumption)
  - object
    - `customer_id` string, uuid
    - `active` boolean
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400`: The request is invalid.
- `422`: The request is well-formed but violates the declared task contract.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/price-baseline/assumptions/post.md)

---

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