# Compute Recipe Nutrition



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

Compute and save total recipe nutrition (batch-level, all ingredients summed).

Use this endpoint to manually trigger a nutrition recompute — typically after an
external update to ingredient nutrient data. The recipe must be in ACTIVE state
with at least one confirmed ingredient. The response `version_id` should be
passed back as `If-Match` on the next mutation.

<APIPage document="&#x22;bettermenu&#x22;" operations="[{&#x22;path&#x22;:&#x22;/studio/recipes/{recipe_id}/nutrition/compute&#x22;,&#x22;method&#x22;:&#x22;post&#x22;}]" />
