---
title: "Update Measurement"
method: PATCH
path: "/api/v1/measurements/{measurement_id}"
tags: ["measurements"]
---

# Update Measurement

`PATCH /api/v1/measurements/{measurement_id}`

Partial update. Returns `{items}` — one row normally, N for a link group
whose shared ring this edit moves (RUD-263 spec §7.1).

## Path parameters

- `measurement_id` string, uuid, required

## Request body

- UpdateMeasurementRequest — Partial update. Geometry triggers server-side recompute of computed_value; extension_values are validated against the condition's attached extension at PATCH time. `extra="forbid"` so attempts to PATCH `condition_id`, `page_id`, or `computed_value` get a clean 422 instead of being silently dropped.
  - `geometry` union
    - PointGeometryInput
      - `type` 'point', required
      - `x` union, required
        - number
        - string
      - `y` union, required
        - number
        - string
      - `rotation` union
        - number
        - string
    - PolylineGeometryInput
      - `type` 'polyline', required
      - `points` array[], required
        - unknown[]
          - unknown
      - `bulges` union[], nullable
        - union
          - number
          - string
    - PolygonGeometryInput
      - `type` 'polygon', required
      - `points` array[], required
        - unknown[]
          - unknown
      - `holes` array[], nullable
        - array[]
          - unknown[]
            - unknown
      - `grid` GridAlignmentInput — Rebar-grid pose for an area measurement (spec 2026-07-13 §5.2). Stored inside geometry JSONB — additive, no DDL (ADR-0097 precedent). angle_deg is CCW-positive PDF user-space, normalized to [0, 180): a line family has 180° symmetry, unlike marker glyphs' [0, 360). New normalizer — borrows only the round-then-normalize technique from ADR-0097.
        - `origin` unknown[], required
          - unknown
        - `angle_deg` union
          - number
          - string
  - `extension_values` object, nullable
  - `name` string, nullable
  - `bid_area_id` string, uuid, nullable

## Response `200`

Successful Response

- MeasurementListEnvelope — Every measurement PATCH returns this: one item for an ordinary measurement, N in member id order for a link group (RUD-263 spec §7.1). One stable envelope rather than two shapes — pre-launch, the clean break beats a compat shim that every future caller would have to remember.
  - `items` Measurement[], required
    - `id` string, uuid, required
    - `condition_id` string, uuid, required
    - `page_id` string, uuid, required
    - `scale_region_id` string, uuid, nullable
    - `geometry` union, required
      - PointGeometryOutput
        - `type` 'point', required
        - `x` string, required
        - `y` string, required
        - `rotation` string, nullable
      - PolylineGeometryOutput
        - `type` 'polyline', required
        - `points` array[], required
          - unknown[]
            - unknown
        - `bulges` string[], nullable
      - PolygonGeometryOutput
        - `type` 'polygon', required
        - `points` array[], required
          - unknown[]
            - unknown
        - `holes` array[], nullable
          - array[]
            - unknown[]
              - …
        - `grid` GridAlignmentOutput — Rebar-grid pose for an area measurement (spec 2026-07-13 §5.2). Stored inside geometry JSONB — additive, no DDL (ADR-0097 precedent). angle_deg is CCW-positive PDF user-space, normalized to [0, 180): a line family has 180° symmetry, unlike marker glyphs' [0, 360). New normalizer — borrows only the round-then-normalize technique from ADR-0097.
          - `origin` unknown[], required
            - unknown
          - `angle_deg` string
    - `name` string, nullable
    - `computed_value` string, nullable, required
    - `computed_derivations` DerivationValue[]
      - `ordinal` integer, required
      - `result_type` 'count' | 'total_height' | 'perimeter' | 'surface_area_top_or_bottom' | 'surface_area_top_and_bottom' | 'surface_area_all_sides' | 'surface_area_full' | 'volume' | 'length' | 'segment_count' | 'surface_area_single_side' | 'surface_area_both_sides' | 'surface_area_single_end' | 'surface_area_both_ends' | 'surface_area_all_side_duct' | 'area' | 'grid_length_visible' | 'grid_length_x_visible' | 'grid_length_y_visible' | 'grid_intersection_count' | 'tile_count_average' | 'tile_count_visible' | 'area_counts', required
      - `uom` 'EA' | 'LF' | 'IN' | 'FT' | 'SF' | 'SY' | 'CF' | 'CY', required
      - `value` number, required
    - `effective_multiplier` string
    - `extension_values` object
    - `bid_area_id` string, uuid, nullable
    - `ambiguous` boolean
    - `link_group_id` string, uuid, nullable
    - `created_at` string, date-time, required

## Other responses

- `4XX` — Client Error
- `5XX` — Server Error

---

[API](https://skmtc.dev/rudus/apis/rudus-api.md) · [All operations](https://skmtc.dev/rudus/apis/rudus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rudus/rudus-api/revisions/f149124a4d80/schema)
