Assumptions
Make, list, replace and withdraw assumptions that stand in for missing values; every price built on one is marked assumed and never counts as independent.
An assumption stands in for a value where no source exists. It is the explicit alternative to leaving a price open: a person states what number to use, why, and for what scope, and the system marks everything built on it. Every price or plan amount that rests on an assumption is marked as assumed, never counts as independent, and has the gap tier assumed. An assumption is used only where no real value exists, so a real value arriving replaces it with no action.
An assumption has a target_kind and a target. series stands in for an index series (target is the series key), variable for a contract value (target is the variable name), quantity for a price's billing quantity (target is the component key), and profile for how annual energy spreads over the months (target energy). The rule says how: value uses the given number, carry_forward uses the last real value before the period, proxy uses another series' value times params.factor. Scope is a single contract (contract_key) or the whole workspace (null).
/v1/price-baseline/assumptionsQuery parameters
Response fields
/v1/price-baseline/assumptionsBody fields
cURL: Carry the last real index value forward for one contract
curl -X POST "https://api.talonic.com/v1/price-baseline/assumptions" \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contract_key": "4711",
"target_kind": "series",
"target": "destatis.erdgas.boerse",
"rule": "carry_forward",
"period_from": "2025-04",
"period_to": "2025-06",
"note": "March value not yet published; carry the February value."
}'The combination rules are enforced with a 422. A value rule needs value, except for target kind profile. carry_forward applies to target kind series only. A proxy rule, 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. The response is the stored record with status 201.
/v1/price-baseline/assumptions/{id}Path parameters
/v1/price-baseline/assumptions/{id}Path parameters
Response fields (200)
cURL: Withdraw an assumption
curl -X DELETE "https://api.talonic.com/v1/price-baseline/assumptions/2a7c4e19-b0d3-46f8-8a51-3e9f7c1d0b64" \
-H "Authorization: Bearer $TALONIC_API_KEY"*. An assumption is read only where no real value exists, so entering a sourced value, through POST /indices/manual or a synced series, makes the assumption inert without deleting it.