---
title: "Changes to Extract nutrition information from a block of text"
method: POST
path: "/compat/v2/ml/getNutritionFromText"
---

# Changes to Extract nutrition information from a block of text

`POST /compat/v2/ml/getNutritionFromText`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 7 revisions.

- **2026-10-25** `7c9d96f4aeff`: 18 breaking, 18 info

## Changes

- **2026-10-25** `7c9d96f4aeff`: 18 breaking, 18 info
  - the response property `addedSugars` became nullable for the status `200`
  - the response property `calcium` became nullable for the status `200`
  - the response property `calories` became nullable for the status `200`
  - the response property `cholesterol` became nullable for the status `200`
  - the response property `dietaryFiber` became nullable for the status `200`
  - the response property `iron` became nullable for the status `200`
  - the response property `monounsaturatedFat` became nullable for the status `200`
  - the response property `polyunsaturatedFat` became nullable for the status `200`
  - the response property `potassium` became nullable for the status `200`
  - the response property `protein` became nullable for the status `200`
  - the response property `saturatedFat` became nullable for the status `200`
  - the response property `servingSize` became nullable for the status `200`
  - the response property `sodium` became nullable for the status `200`
  - the response property `totalCarbs` became nullable for the status `200`
  - the response property `totalFat` became nullable for the status `200`
  - the response property `totalSugars` became nullable for the status `200`
  - the response property `transFat` became nullable for the status `200`
  - the response property `vitaminD` became nullable for the status `200`
  - response property `addedSugars` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `calcium` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `calories` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `cholesterol` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `dietaryFiber` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `iron` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `monounsaturatedFat` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `polyunsaturatedFat` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `potassium` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `protein` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `saturatedFat` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `servingSize` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `sodium` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `totalCarbs` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `totalFat` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `totalSugars` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `transFat` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `vitaminD` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

---

[Operation](https://skmtc.dev/recipesage/apis/recipesage-api/docs/compat/v2/ml/getNutritionFromText/post.md) - [API](https://skmtc.dev/recipesage/apis/recipesage-api.md) - [Page](https://skmtc.dev/recipesage/apis/recipesage-api/changes/compat/v2/ml/getNutritionFromText/post)
