---
title: Costing environments, versions and costing dates
description: How cost regions, reference values, environment versions, following and the costing date decide what a calculation prices with, and how to replay a quote.
---

# Costing environments, versions and costing dates

A quote from a shop in Bavaria and one from a shop in Shanghai differ
because labour, energy, capital and space cost different amounts there —
and those amounts move. This page explains where the figures behind a
calculation come from, how an available environment publishes them as
immutable **versions**, how your environment **follows** one, and how the
**costing date** and **assumption policy** decide what a calculation — and
any later re-run of it — reads.

Every route below is under `https://api.arcnm.io/api/v1`. JSON examples
are abridged and **illustrative — your values differ**.

---

## What a price is read from

When a calculation needs a rate — a labour rate, an energy price, a
material price, an interest rate, a currency pair — it takes the first
answer in this order:

1. **Your environment's own statements** — the rate rows and settings you
   entered on the environment, then those of its parent environments.
2. **The version your environment follows** — the applied version of the
   environment it was installed from and follows, if it follows one.
3. **The reference value for its cost region** — the platform's value for
   the environment's region, or, when that region states none, for the
   nearest region above it, up to `WORLD`.
4. **The platform default** — the last resort.

Nothing lower in the list ever overrides something higher: a rate you
state is never replaced by an update of the environment you follow or a market move. Where a
response says where a figure came from, it says `yours` (stated in your
environment or a parent of it) or `platform` (the followed version, a
reference value or the platform default) — for example the `source_from`
and `source_to` of every assumption in the
[calculation diff](#seeing-what-moved).

---

## Cost regions

A **cost region** is the geography a price is a function of. Every
environment binds to one through its `region` code:

| Code | Meaning |
|---|---|
| `DE`, `CZ`, `VN` | a country (ISO 3166-1 alpha-2) |
| `DE-BY`, `CN-SH`, `US-IL` | a subdivision (ISO 3166-2) |
| `M49-150` | a UN M49 macro region (`M49-<code>`) |
| `EU27` | the European Union |
| `WORLD` | the root every region inherits from |

Regions form a hierarchy, and a region without a value of its own
inherits its parent's — `DE-BY` falls back to `DE`, `DE` to `EU27`,
`EU27` to `M49-150` (Europe) and that to `WORLD`. Other spellings (NUTS codes, legacy
codes such as `GLOBAL`) resolve to the region they name.

- `GET /regions` — every region, sorted by code; filter with
  `level` (`world`, `macro`, `country`, `subdivision`, `metro`),
  `parent` (direct children of a code) and `priced` (`true`: regions
  with reference values of their own). Each region carries
  `centroid_lat` and `centroid_lon` (its approximate centre; null for a
  macro region without one). Paged through the `Link` and
  `X-Next-Cursor` headers.
- `GET /regions/{code}` — one region with `ancestors` (the inheritance
  path up to `WORLD`) and `aliases`. A code is read in any case (`de-by`
  is `DE-BY`); an unknown one is `404` with `error.code`
  `region_unknown`.

Creating or editing an environment with a region that is not a cost
region is refused with `422` and `error.code` `region_unknown`.
Reference: [Regions](../api/regions.md).

---

## Cost drivers and reference values

A **cost driver** is one economic input the engine consumes — hourly
labour cost, industrial electricity, a material price, the interest rate
on capital, floor space, a currency pair. `GET /drivers` is the closed
list: each driver's `key` (for example `labour.eur_per_h`), its `unit`,
the `qualifier_grammar` its qualifiers follow (for example `skill:3`) and
how often it is refreshed (`cadence`). Units named `pct` are fractions:
`0.12` is 12 %.

A **reference value** is the platform's value for one driver in one
region. `GET /regions/{code}/drivers` answers every driver the region
resolves at a date — its own values and the inherited ones:

```json
[
  {
    "driver_key": "labour.eur_per_h",
    "qualifier": "skill:3",
    "value": 47.0,
    "unit": "eur_per_h",
    "currency": "EUR",
    "valid_from": "2026-07-01",
    "answered_by": "DE",
    "inherited": false,
    "method": "curated",
    "source_summary": "…",
    "source_url": "https://…",
    "band_lo": null,
    "band_hi": null,
    "licence_class": "attribution",
    "stale": false,
    "provisional": null
  }
]
```

- `as_of` — the costing date the values apply at (default today).
- `drivers` — a comma-separated filter; an unknown key is `422` with
  `error.code` `driver_unknown` (`details.drivers` names the unknown
  ones).
- `answered_by` and `inherited` say which region answered.
- `method` says how the value was made: `observed`, `derived`,
  `interpolated`, `inherited` or `curated`.
- `licence_class` is `open`, `attribution` or `derived_only`. A
  `derived_only` value is served with its one-line summary and without a
  `source_url`; values the platform may not show are never served.
- `stale` is true when the value is past its refresh deadline at the
  requested date: for a value derived from a published statistic, once
  two prints of its newest input are missing; for any other, once it is
  older than twice the cadence it is refreshed on. A stale value still
  prices; a calculation that read one says so in `reference_freshness`.
- `provisional` names why a value is provisional and is `null`
  otherwise: `unverified_estimate` (a labour or energy figure that is
  still an estimate not yet verified against its publisher) or
  `subnational_scope` (a cited figure for one province, state or utility
  of the region). It is the reason a listing's `provisional_cells` and a
  calculation's `reference_provisional` note carry.
- `unit` names the dimension (`eur_per_h` is "per hour"); `currency`
  names the money the value is in.

`GET /drivers/{key}/history?region=DE` is the bitemporal history of
one value: every version recorded, with `valid_from` / `valid_to` (when
it applies) and `recorded_at` / `superseded_at` (when the platform knew
it). Pass `knowledge` to see only what was known at an instant, and
`since` / `until` to bound the valid time. The platform records values;
it does not forecast them. Reference: [Drivers](../api/drivers.md).

---

## Available environments

In the app, **Environments** holds your own environments and the
**available environments** — the ones the platform (and, once publishing
opens, other organizations) publish for others to install and follow. Each
is priced for a cost region and published as a series of versions. The API
reads them under `/catalogue/environments` (the path keeps its name).

The platform publishes **one environment per country** (`arcnm-de`,
`arcnm-cn`, …). A region finer than a country is yours: create an
environment for it, and publish it if others should follow it. The six
subdivision environments the platform published before 2026-11-24
(`DE-BY`, `DE-BW`, `CZ-JM`, `US-IL`, `VN-SG`, `CN-SH`) are retired into
their countries: they are listed nowhere, `GET /catalogue/environments/{id}`
still reads one with `status` `retired` (with `current_version` `null`
where it was never released), its old address (`arcnm-de-by`) opens the
country's listing, and an environment that followed one follows its
country's, with its follow policy and pin unchanged. An address that
starts with `arcnm-` is always the platform's.

- `GET /catalogue/environments?region=DE&q=milling&process_family=milling` —
  the listings. `region` matches the region and every region beneath it
  (`DE` includes `DE-BY`), and for a region within a country also the
  platform's environment of that country (`DE-BY` lists `arcnm-de`; an
  alias such as a NUTS code resolves, in any case, and an
  unknown code is `422` with `error.code` `region_unknown`); `q` is a
  substring match on name and description; `process_family` (repeat it,
  at most eight) keeps the environments whose current version covers
  every family named — a machine-class family such as `milling`,
  `turning` or `laser_cutter`, or a process family a machine stands under
  such as `grinding`, `cutting` or `forming` (`422 process_family_unknown`
  names an unknown one);
  `kind` (`region_reference`, `consultant_benchmark`, `shop_profile`) and
  `evidence_class` (`platform_curated`, `verified_partner`, `community`)
  narrow by listing kind and evidence. Each listing carries its
  `current_version`, its `channels`, `fleet_size` (machines active today),
  a `capability_envelope` (the process families, material families and
  size class the current version covers), and who stands behind it:
  `publisher_kind` (`platform` or `organization`), `publisher`,
  `evidence_class`, `licence`, `listing_kind`, `slug`, `status`,
  `update_cadence`, `freshness` (`current` or `overdue` against the
  declared cadence), `conformance_score`, and `reference_coverage`
  (`own`, `inherited` or `none`) with `reference_answered_by` — whether
  the listing's region has reference values of its own, takes them from
  a named ancestor, or falls back to the world figures. A platform listing
  also carries `coverage_grade`: `complete` when every reference value its
  current version prices with is live or cited, `provisional` when its
  labour and/or energy value is still an estimate not yet verified against
  its publisher. A provisional listing names each such value in
  `provisional_cells` (`driver_key`, `qualifier`, `answered_by`, `reason`
  — today always `unverified_estimate` — and the `source_summary` the
  estimate was read from), and every calculation priced with one carries
  the `reference_provisional` note. `coverage_grade` filters
  (`complete` or `provisional`; organization listings carry no grade and
  are left out when it is set), and the list shows complete platform
  listings before provisional ones. The grade is the current version's:
  it changes when a release publishes a version without the estimate.
  Every listing also carries a `preview` of its current version's setup —
  `region_code`, `currency`, `version_label`, `released_at`, the `labour`
  rate per hour and the `energy` price per kWh it prices with (each with
  `value`, `unit`, `currency` and `source_tier`: `rate_row` or
  `environment` for what the version states, `regional_reference` or
  `regional_reference_inherited` for the regional value a platform
  version pinned; a `derived_only` value is named with `value` null, an
  `internal_only` one is null), its `machines` (`count` and the six
  largest `classes`), `materials_priced`, `process_families`,
  `wage_groups`, `has_overheads` and `has_fx` — and `in_workspace`: the
  environments of your organization that follow it (`env_id`, `name`,
  `policy`, `channel`, `auto_apply`, `applied_version_label`,
  `pending_version_label`), empty when none does. `stars` is how many
  people starred the listing in the app — each person once, members of
  the publishing organization not counted, ARCNM's own listings counting
  everyone; exact and current, `0` when nobody did. Who starred is never
  readable, by anyone. `is_favourite` is whether the signed-in person
  starred it; an API key reads `false` and cannot star.
  `in_workspace=true` (or `false`) keeps the listings you follow (or the
  others), `favourites=true` a person's starred listings, and `sort`
  orders by `relevance` (the default: the platform's listings as above,
  then the organizations' by the star ranking; with `q`, more stars break
  ties within that order), `stars` (the star ranking over every listing:
  most stars first, among equals the reviewed before the unreviewed, then
  `current` before `overdue`, then the newest release, then the name — no
  score, no decay, no weights), `updated`
  (newest current version first) or `name`. `view=card` serves what a
  card of the listing draws: `preview` is `null` and `figures` carries
  its `labour`, `energy`, `machines` (the count) and `materials_priced`
  — about 2.1 kB a listing instead of 2.9 kB; the listing's own read
  below serves the whole preview.
  The list is paged:
  `limit` (default 100, at most 500) and `cursor`, the position in the
  `Link` / `X-Next-Cursor` / `X-Has-More` headers. Organization listings
  appear here once the platform opens publishing; today every listing is
  the platform's (`platform_curated`).
- `GET /catalogue/environments/{ref}` — one listing by environment id or
  by `slug`, with its published versions.
- `GET /catalogue/environments/{ref}/versions` — the published
  versions, newest first, paged through the `Link` and `X-Next-Cursor`
  headers.
- `GET /catalogue/environments/{ref}/versions/{label}` — one version,
  by label or id, with its `snapshot` and `changelog`.
- `GET /catalogue/environments/{ref}/versions/{a}/diff/{b}` — every
  path that moved between two versions, with `from`, `to` and `delta_pct`.

A version's **snapshot** is what the version states: its identity,
economics, the rate rows, its machines and tools by library lineage, and
the capability envelope. It never contains calibration of any kind,
quotes or price evidence, subcontractor identities, keys, user ids or
organization ids. Two versions with the same `content_hash` state
identical assumptions. Reference: the `catalogue` routes in the
[API reference](../api/catalogue.md).

---

## Versions and channels

A **version** is an immutable, published state of an environment: once
published, nothing about it changes. Platform versions are labelled by
release month (`2026.09`); the platform cuts one at the start of each
month. Each version reports its `status`
(`draft`, `published`, `deprecated` or `withdrawn`), its `content_hash`,
the `reference_vintage_at` it was cut against and, where set,
`supported_until` — the date after which new calculations against it
warn.

A **channel** is a moving pointer to a version. Available environments
publish `latest`, which moves to every monthly release, and `quarterly`,
which moves in January, April, July and October.

Your own environments have versions too. `POST /environments/{env_id}/versions`
with a `label` (unique per environment, up to 32 characters) freezes the
environment's current configuration as a version — what an exported quote
can cite — without changing the environment. `GET /environments/{env_id}/versions`
lists them, `GET /environments/{env_id}/versions/{label}` returns one with its
snapshot, and `PUT /environments/{env_id}/channels/{channel}` points one of your
channels (for example `quote-basis`) at a published version. `latest`
and `quarterly` are reserved for the releases of available environments (`422` with
`details.reason` `channel_reserved`). To tell whether two of your versions
differ, compare their `content_hash`, or ask
`GET /environments/{env_id}/versions/{a}/diff/{b}` (labels or ids, drafts
included) for every path that moved.

---

## Following

**Install** (in the app, under **Environments**) creates an environment
of your own that **follows** an available environment:

```bash
POST /environments/from-catalogue
Idempotency-Key: 6f0c2b1e-…
{
  "upstream_env_id": "…",
  "name": "Bavaria — our plant",
  "follow": {"policy": "track_channel", "channel": "latest",
             "auto_apply": false, "notify": true},
  "make_default": true
}
```

The new environment carries the available environment's identity,
machines and selection policy, states no rates of its own, and prices on
day one: every value it does not state resolves from the applied version.
`policy` is `track_channel` (follow a channel) or `pinned` (stay on one
`version_id`); a channel the listing does not offer is `422`
`channel_not_offered`, with the ones it does in `details.channels`;
`auto_apply` and `notify` set the follow's two switches and
`make_default` makes the new environment your organization's default, all
in the one request. The response is the new environment with its
`subscription`, `is_default`, and the available environment's
`in_workspace` as it now stands; `machines_skipped` counts upstream
machines that could not be instantiated. Installing the same
environment again makes a second environment (`in_workspace` on the
listing names the ones you have); send an `Idempotency-Key` so a repeated
request makes one. A new environment counts against your plan's
environment limit (`402 entitlement_exceeded` when it is full), except
that the first one in each country is covered by that country's slot: a
plan prices new calculations in a number of ARCNM countries (Free 3, Pro
10, Scale and Enterprise every country), and an install in a new country
past them is `402 entitlement_exceeded` whose `details.feature` names that
limit, with `details.countries`, the countries you price in
([Pricing](../pricing.md#plan-limits) gives the payload). Nothing is
created then.

- `GET /environments/follows` — every environment of your organization
  that follows an available environment (every installed one), in one read: the `upstream`
  listing (`ref`, `title`, `publisher`, `publisher_kind`,
  `listing_status`, `update_cadence`), `policy`, `channel`, `auto_apply`,
  `notify`, the `applied_version` (`label`, `applied_at`, and `automatic`
  when the release applied it), a `pending_version` (`label`,
  `released_at`, `changes` — the paths it moves — and `conflicts`: `0`
  when it removes no rate row, `null` when it does and the diff below
  decides), `revert_until`, `overrides` (the values the environment states
  itself), `provisional`, `reads_reference_plane` and `is_default` —
  beside your organization's `assumption_policy_default`.

- `GET /environments/{env_id}/subscription` — what the environment follows:
  `applied_version`, `newest_on_channel`, `pending` (a newer version not
  yet applied that changes something — a release whose content equals the
  applied version's is never pending, and a follow tracking a channel is
  moved onto it silently), `versions_behind` (the versions between that
  change something), and while a revert is possible
  `previous_applied_version` and `revertable_until`. A follow reads only
  the listing it was installed from: a new listing of the same environment
  is never offered to it.
- `GET /environments/{env_id}/subscription/diff` — the three-way diff of the
  applied version, the target (`version_id`, default the pending one) and
  what the environment states as pricing reads it: its own rows, then its
  parent environments' (same organization), a rate row only in the
  environment's currency, and, where one row of a kind prices (the
  environment labour rate, an overhead side, a subcontract operation), any
  row of that kind. Every moved path has a `kind`:
  `upstream_moved_inherited` (reaches your prices),
  `upstream_moved_overridden` (you state this yourself; no effect — never
  a conflict) or `conflict` (a row you rely on was removed). `conflicts`
  lists the paths that need a resolution.
- `POST /environments/{env_id}/subscription/apply` — move to `version_id`,
  with one entry in `resolutions` per conflict: `keep_mine` (keep the
  removed value as your own row), `take_upstream` (accept the removal) or
  `state_value` (write the `value` you name). An unresolved conflict is
  `409 conflict` with `error.message` `subscription_conflicts_unresolved`
  and the paths in `details.conflicts`. A `state_value` without a finite
  `value` is `422` with `details.reason` `resolution_value_required`. Your
  own statements are never changed; the rows a resolution writes are new
  rows of your own.
- `POST /environments/{env_id}/subscription/revert` — restore the previous
  version within 72 hours of the last apply; after that it is `409 conflict`
  with `error.message` `revert_window_closed`, and with no earlier version
  to restore (none applied since the install, or the last update already
  undone) `409` `nothing_to_revert`. It also takes back the rows
  that update wrote for your `keep_mine` / `state_value` resolutions: a row
  written that day is deleted and an older one ends today; a row you
  changed since stays. With `auto_apply`, a reverted update is not applied
  automatically again until you apply those values yourself.
- `POST /environments/{env_id}/subscription/detach` — stop following and
  keep every value the environment inherits. Everything it reads from the
  applied version today and does not state itself — labour (with wage
  groups), overhead with its base, exchange rates, material, subcontract and
  scrap prices, every economics field, the stated cutting data, tuning and
  shop practice, the learning rate, and the regional values a platform
  version pinned — is written as your own, valid from today, so the
  environment prices exactly as it did a moment before. The answer lists
  what was written (`rows_written`, `economics_written`,
  `reference_values_written`, `overrides_written`, `learning_rate_written`).
  Afterwards the environment follows nothing: the subscription routes answer
  `404` `subscription_not_found`, a pending version is not applied and an
  open revert ends. It cannot be attached again with its history; following
  the same environment again is a new install. Regional reference
  data the version did not pin (the region's live values and exchange
  rates) is not written and keeps pricing it: an environment installed
  from Environments reads its region's reference values, also after it detaches
  (`reference_values_apply` on `GET /environments/{env_id}/assumptions`).
- `PUT /environments/{env_id}/subscription` — switch between tracking a
  channel and pinning a version.
- `PATCH /environments/{env_id}/subscription` with `{"notify": false}` —
  stop hearing `version_published` for this follow (a pinned follow hears
  every release of its upstream, a channel follow the releases that moved
  its channel). It changes nothing about what prices.

A new version waits as `pending` until you apply it — unless the follow
tracks a channel with `"auto_apply": true`. Then a release is applied for
you within minutes, exactly as `apply` would, when the three-way diff has
no conflict; the subscription then reports `applied_automatically: true`
and `revertable_until`, and `revert` works for 72 hours as after your own
update. A later release that changes no value moves `applied_version` on
without asking and keeps that revert; `updated_to_version` still names the
version the update applied. A release that conflicts with your rows is not applied: it waits
as `pending` for you to resolve it. A pinned follow never moves by itself.

The follow writes — `from-catalogue`, the subscription `PUT`, `apply`,
`revert` and `detach`, cutting a version and moving a channel — need an owner or admin
signed in: in the app, or through the API with that user's session token
as `Authorization: Bearer`. An API key or an OAuth / MCP grant reads
everything on this page but is refused on these writes with `403
user_session_required`.

---

## Costing date and assumption policy

Every calculation carries a **costing date**: the date every rate, price
and reference value is read as valid on. Send `costing_date` on any
calculation entry point; today is the default, a past date prices the
part as of that day, and a future date is `422 costing_date_in_future`.
Currency conversion reads the same way: an FX rate your environment
states wins, otherwise the platform's reference rate for the pair valid
at the costing date. The calculation's `fx_reference_used` note names who
published that rate (`source`: the European Central Bank where it states
a euro reference rate for the currency, another publisher where it does
not), its reference date (`valid_from`), and whether it is a cross rate
derived from two reference rates (`derived`: a pair without the euro).

The **assumption policy** decides what a later re-run of the calculation
reads. Send `assumption_policy`; omitted, your organization's default
applies (set in the app under **Settings → Costing policy**):

| Policy | A re-run reads |
|---|---|
| `frozen` | the same version, the same costing date and the same knowledge time — a like-for-like re-run |
| `market_tracking` | the same version, priced as of today — whatever the environment and the reference values state today moves |
| `live` | the environment's current version and today's values — everything the follow and the market moved |

Any other word is `422 assumption_policy_invalid`. A `frozen` re-run
reads the pinned version and the reference values as they were known
when the source ran; your environment's own rate rows, machines and
overrides are read as they stand now, so an edit to those since the
source run shows in the re-run.

A calculation reports what it assumed:

```json
{
  "costing_date": "2026-09-01",
  "assumption_policy": "frozen",
  "environment_version": {"id": "…", "label": "2026.09", "content_hash": "3f9a…"},
  "reference_freshness": {"oldest_valid_from": "2026-07-01", "stale": false}
}
```

`environment_version` is the applied version at run time (null when the
environment follows nothing); `content_hash` is its first 12 characters.
`reference_freshness.stale` is true when a reference value the run read
was past its refresh deadline at the costing date: for a value derived
from a published statistic, once two prints of its newest input were
missing; for any other, once it was older than twice the cadence it is
refreshed on — check it before relying on the price. A run priced with a
provisional reference value — a labour or energy figure that is still an
estimate not yet verified against its publisher, as a provisional
listing names it — carries the pipeline note
`reference_provisional` with `driver_key`, `qualifier`, `region_code`
(the region whose value it is) and `reason` (`unverified_estimate`),
whether the value came from the version you follow or from the region's
reference values; `GET /environments/{env_id}/assumptions` marks the
same value with `provenance.provisional`. A result never changes
afterwards: a re-price is always a new calculation.

---

## Seeing what moved

- `GET /calculations/{calculation_id}/diff/{other_calculation_id}` — the
  cost-line diff of two calculations of the same part revision: per line
  `before`, `after`, `delta`, `delta_pct` and `moved_assumptions`, and
  every assumption that moved (`kind` `rate`, `reference` or `fx`) with
  its values on both sides and where each came from. Two calculations of
  different revisions are `422 different_part_revision`.
- `POST /calculations/{calculation_id}/reprice-preview` — a free
  first-order estimate of what a re-price would move, computed from the
  calculation's stored cost shares. `target` is `"latest"` (the current
  version and today's values), `{"version_id": "…"}` or
  `{"costing_date": "2026-07-01"}`. The answer is marked `estimate: true`
  and states `unit_cost_by_lot`, `estimated_unit_cost_by_lot` and
  `total_delta_pct_by_lot` per lot point, `per_driver` contributions, and
  `drivers_without_lever` — values the target moves that the calculation
  carries no cost share for, and `measured_error_p90_pct` — how far such
  estimates landed from exact prices on the platform's nightly check
  (null until one has run). Nothing is priced, stored or billed.
- Comparisons take `align`: `as_run` (default — each cell as priced),
  `same_date` (cells priced on another date are flagged) or `latest`
  (each cell also carries a first-order `estimated_unit_cost`) — on
  `GET /calculations/batches/{batch_id}/comparison` and
  `POST /calculations/comparison`.
- `POST /calculations/{calculation_id}/reprice` — a new calculation of the
  same part in the same environment under the policy's pins
  (`assumption_policy` and `costing_date` optional in the body), linked
  back through `repriced_from_calculation_id`. It prices the **same
  geometry** the source was priced from — the part is not read again, so
  every difference is an assumption. `geometry_by_reference: true` in the
  answer says that was asked, not that it happened: the new calculation's
  `geometry_origin` (`GET /calculations/{calculation_id}`) is
  `by_reference` when the stored reading was used, and `extracted` or
  `served` when it was gone, retired or failed verification and the part
  was read again. If the part's drawing, mesh or RFQ text changed
  since the source ran, it is a new part and the re-price is refused
  with `422 reprice_inputs_changed` (`details.roles`, `details.latest_at`);
  send `re_extract: true` to read the new files instead. It is metered as
  a calculation. `POST /calculations/reprice` does the same for up to 200
  calculations, named in `calculation_ids` or reported by an alert
  delivery (`alert_delivery_id`); a changed source is skipped there with
  reason `inputs_changed` rather than refusing the batch.
- `GET /calculations/{calculation_id}/regional-screen` — where the same
  part would be cheaper, **estimated**: the calculation's stored cost
  shares are relocated over every priced region's reference values, and
  the answer lists the regions cheapest first with `estimated_unit_cost`,
  `delta`, `delta_pct` and a rank, the levers it moved (`levers[]`, each
  with the value used and the base value), `relocated_share` (the share
  of the unit cost that moves with the region at all), and
  `measured_error_p90_pct`. Nothing is priced, stored or billed; a region
  it could not estimate is listed unranked with `unavailable_reason`.
  A `derived_only` reference value is named (its licence, one-line source
  and vintage) but never served to an API key or an MCP grant: a lever
  that needs it is held and a region that needs it is unranked, both with
  the reason `licence_withheld`; a value licensed for internal use only is
  not listed at all.
  `as_of` (today or earlier), `lot_size` (one of the calculation's lot
  points) and `level` (`country` or `subdivision`) narrow it; `regions` (a
  comma list of codes or aliases, any case, whatever their level) screens
  exactly those and answers each — one that states no reference values of
  its own as `unavailable_reason` `not_priced`, an unknown code as `422`
  `region_unknown` with `details.regions`. A provisional value is marked:
  `provisional` on a driver cell, `provisional_cells` on a region. A
  calculation whose environment names a region that states nothing (a copy
  still bound to `DE-BY`) marks the nearest priced region (`DE`) as
  `is_calculation_region` and names it in `base_region.answered_by`. A
  calculation with no price yet is `409 conflict` (`details.reason`
  `calculation_not_priced`); one that stores no cost shares is
  `422 sensitivity_missing`; a lot size it does not store is
  `422 lot_size_not_on_curve` (`details.lot_points`); a price nothing
  regional moves is `422 no_regional_lever` (`details.held`). It counts up
  to five requests against your rate limit.
- `GET /market/events?since=&region=DE&driver=labour.eur_per_h&kind=move` —
  the platform's market events: a reference value that moved past its
  driver's threshold (`move`), a publisher restating a period
  (`revision`), a source that stopped publishing (`source_outage`), an
  available environment publishing a version (`version_published`). Each
  event names its region, driver and qualifier, `direction`, `severity`,
  `detected_at` and, where its licence allows, `from_value`, `to_value`
  and `delta_pct` with `unit` and `currency`; a value the platform may
  not redistribute is listed by direction only. `since` defaults to 30
  days before `until` (or now); `region` includes the regions above it
  unless `inherited=false`; `min_severity` filters; paged with `cursor`
  and `limit`. Alert rules are how these reach you unasked
  ([Webhooks](#webhooks)).

---

## Webhooks

Four events carry this system's news to your endpoint (payloads in
[Webhooks](../webhooks.md#event-catalog)):

| Event | Sent when |
|---|---|
| `market.driver_moved` | an alert rule on driver moves delivers: reference values your current calculations read moved past its threshold |
| `environment.version_published` | an alert rule on new versions delivers: an environment you follow published a version |
| `calculation.reprice_recommended` | an alert rule on cost impact delivers: the estimated unit cost of current calculations moved past its threshold |
| `calculation.repriced` | a re-price finished |

The first three are deliveries of [alert rules](../api/alerts.md) whose
`channels` include `webhook`; your endpoint also subscribes to the event
type.

---

## From an agent

Five curated, read-only tools cover the work an agent does with this
system, each free and each composing the routes above:
`find_environments` (the available environments by region and machine coverage, each
listing with its setup preview and the environments of your organization
that already follow it),
`get_region_drivers` (a region's reference values at a date),
`preview_reprice` (the free first-order estimate),
`get_landed_cost` (the delivered cost for a destination, without saving
anything) and `diff_environments` (what moved between two versions —
an available environment's, a follow's three-way view, or your own). Every
other read on this page — regions, drivers, the workspace's follows, a
follow's state and diff,
versions and channels, the regional screen, market events, the
calculation diff — is a generated read-only tool. What stays with a person
is anything that changes what prices, or costs a calculation: following,
applying, reverting, cutting a version, moving a channel, muting a follow
and re-pricing. See [MCP for agents](../mcp.md).

---

## Error codes

Branch on `error.code`; the specific cause is in `error.message` or
`details.reason`. The full catalogue is [Errors](../errors.md).

| HTTP | Code | Cause (`error.message` / `details.reason`) |
|---|---|---|
| 404 | `not_found` | `catalogue_environment_not_found`, `version_not_found`, `subscription_not_found` (the environment follows nothing), `calculation_not_found` |
| 409 | `nothing_to_revert` | `POST …/subscription/revert`: the follow has no earlier applied version to restore |
| 422 | `channel_not_offered` | `track_channel` names a channel the listing does not offer; `details.channels` lists the ones it does |
| 404, 422 | `region_unknown` | a code that is neither a cost region nor an alias of one, in any case: `404` on `GET /regions/{code}` and its drivers; `422` on an environment write, a `GET /catalogue/environments` or `GET /market/events` filter, and the regional screen's `regions` (`details.regions`) |
| 422 | `level_unknown`, `driver_unknown` | a `level` that is no region level; a `drivers` key outside the registry (`details.drivers` names them) |
| 409 | `conflict` | `subscription_conflicts_unresolved` (paths in `details.conflicts`), `revert_window_closed`, `version_label_taken`; `details.reason` `calculation_not_priced` on the regional screen |
| 422 | `unprocessable_entity` | `details.reason` `follow_policy_unknown`, `channel_required`, `version_id_required`, `resolution_unknown`, `resolution_value_required`, `version_not_published`, `channel_reserved`, and on `GET /market/events` `kind_unknown` (`details.kinds`) or `window_invalid`; the others listed in [Errors](../errors.md#environment-versions-follows-and-cost-regions) |
| 422 | `process_family_unknown`, `too_many_process_families` | a `process_family` of `GET /catalogue/environments` is not a machine family (`details.unknown`, `details.known`), or more than eight were sent |
| 422 | `costing_date_in_future` | the `costing_date` is after today (UTC) |
| 422 | `assumption_policy_invalid` | not `frozen`, `market_tracking` or `live` |
| 422 | `different_part_revision` | a diff of calculations of two part revisions |
| 422 | `reprice_inputs_changed` | the part's files changed after the source calculation ran; send `re_extract: true` |
| 422 | `sensitivity_missing`, `lot_size_not_on_curve`, `no_regional_lever` | the regional screen: no stored cost shares, a lot size off the curve (`details.lot_points`), or nothing regional to relocate (`details.held`) |
| 403 | `forbidden` | a follow write with a credential that is not an owner or admin session |
| 402 | `entitlement_exceeded` | the plan's environment limit is reached, or an install, a duplicate or a region change would add a country past the plan's ARCNM countries (`details.feature` names that limit; `details.countries`) |

---

## See also

- [Recipe: follow a region and re-price when the market moves](../recipes/follow-a-region-and-reprice.md)
- [Landed cost](./landed-cost.md) — the delivered cost beside the price
- [Webhooks](../webhooks.md) · [Errors](../errors.md) · [MCP for agents](../mcp.md)
