Calibration Finalize Environment
calibration_finalize_environmentDestructive
Recalibrate this environment for the selected target metric using every observation submitted for it so far, then activate the result. Use after submitting observations. Only an observation whose predicted value comes from the current version of the costing model is fitted: one submitted before the model last changed, or naming a calculation priced before it, is left out and counted in message, and a run with none left is refused. To start from raw ERP actuals without submitting observations first, use the one-click auto-calibrate endpoint instead.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional free-text note recorded with the run. | |
| env_id | Yes | ||
| target_alpha | No | Target miss rate for the prediction interval (0.10 → a 90% interval). | |
| target_metric | No | Metric to calibrate the environment for. | cycle_time_s |