Calibration Ingest Environment Outcomes
calibration_ingest_environment_outcomesDestructive
Submit a batch of observations (predicted vs. actual outcomes) for an environment so it can be calibrated. Tenant-bound; scope='environment' only. Safe for AI agent use: idempotent on each observation's natural key and rate-limited by the global tenant policy. Recalibrate the environment afterwards to apply the accumulated observations. Take each predicted value from a current quote: an observation is recorded with the version of the costing model current when it is submitted, and once the model changes, recalibration leaves it out until it is submitted again with a predicted value from the new model.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | Which rung of the cost sheet these numbers are measured at: 'herstellkosten' (manufacturing cost per unit — what a work order books), 'selbstkosten' (total cost per unit, including administration, selling, freight and duty) or 'angebotspreis' (the quoted price per unit, including the profit mark-up). Each is compared against the model's own figure at the same rung. Omit it only if you genuinely do not know: an unstated basis is read as manufacturing cost and the environment's calibration report flags how many rows were unstated. | |
| scope | Yes | Scope of the observations; tenant tokens may submit 'environment' only. | |
| env_id | No | Target environment; required when scope is 'environment'. | |
| oracle | Yes | Source of the observations (e.g. operator report, MES, supplier quote). | |
| observations | No | Up to 20,000 observations; each carries target_metric, observation_type, predicted, and actual. |