# Get Custom Ingredient Version Changes



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Return a structural diff of `version_id` relative to `compared_to` (defaults to its parent).

`before` holds values at the comparison point; `after` holds values
at the subject version. Only changed top-level fields appear in
`data.field_changes`; an empty map means the two states are
equivalent. Each changed field also carries a `data.field_relevance`
entry classifying its downstream label impact (ADR 0008 D7):
`label_affecting`, `availability_affecting`, or
`non_label_affecting`. Diffing a version against itself returns 400.

<APIPage document="&#x22;bettermenu&#x22;" operations="[{&#x22;path&#x22;:&#x22;/studio/custom-ingredients/{custom_ingredient_id}/versions/{version_id}/changes&#x22;,&#x22;method&#x22;:&#x22;get&#x22;}]" />
