---
title: "Record how an open input will be filled"
method: POST
path: "/v1/price-baseline/models/{id}/decide"
tags: ["Contract Pricing"]
---

# Record how an open input will be filled

`POST /v1/price-baseline/models/{id}/decide`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/price-baseline/models/{id}/decide`
- Auth: HTTP bearer

Stores a person's choice for an open input (`key` from the `open` list of the workbook) on the contract's latest version: take the value from the invoice once it is ingested, or request it from the customer or supplier. A choice never fills a number. Omitting `choice` or sending null clears the decision.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `key` string, required: Key of the open input.
  - `choice` 'from_invoice' | 'request' | 'null', nullable
  - `note` string, nullable

## Response `201`

The stored decision, or null when it was cleared.

- object
  - `key` string
  - `decision` object, nullable
    - `choice` 'from_invoice' | 'request'
    - `note` string, nullable
    - `decided_at` string, date-time

## Other responses

- `400`: The request is invalid.
- `404`: The requested resource was not found.

## Changes

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

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/price-baseline/models/:id/decide/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)
