Create system LoS target
create_system_los_targetSet the technical Level of Service target for one system and metric. One base target per system and metric, set once for the organization; a duplicate returns 409, so update the existing row instead. Each building is held to a version adjusted by its criticality: a lower-is-better target is multiplied by the tier's modifier, a higher-is-better one keeps its distance from a perfect score multiplied by it (condition 70 becomes 82 at a Critical facility, 58 at a Low one). Derived targets never leave the metric's scale. Direction is fixed by the metric and cannot be sent: asset_condition_avg is higher-is-better and uses the fixed 0-100 condition bands; fci, asset_past_useful_life_pct (both 0-100 percent) and risk_score_avg (0-25) are lower-is-better. Not money. Requires los_targets:write scope. Resolve system_id first via list_systems.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Whether the target is scored (default true) | |
| metric | Yes | Metric the target tracks (required) | |
| system_id | Yes | System ID (required) - resolve first via list_systems | |
| base_target | Yes | Base target on the metric's scale (required): fci, asset_condition_avg and asset_past_useful_life_pct run 0-100; risk_score_avg runs 0-25 |