Skip to content

List food corrections

Lists the changes you made to catalogue products, newest first, and where their review stands.

GEThttps://app.splot.health/v1/food-corrections

Needs the Read permission.

When you save a changed copy of a product from the splot or off library, with copyFrom, or change that copy later, your copy changes straight away and the difference goes to review as a correction to the product. The shared catalogue changes only if the review accepts it. A later change to the same food replaces a correction still waiting for review.

ParameterTypeDescription
limitintegerHow many to return. From 1 to 100. Defaults to 30.
offsetintegerHow many to skip. Send the previous page's nextOffset. Defaults to 0.

200 with a page of corrections, newest first, and the offset of the next page, or null on the last.

{
"corrections": [
{
"id": "3c8f1e2a-5d4b-4a7e-9c1f-8e2d6b4a1c70",
"foodId": "9d2e7c1a-4b6f-4e8d-a3c5-1f7b9e2d4a60",
"product": { "library": "off", "key": "3017620422003" },
"status": "pending",
"original": {
"name": "Nutella", "brand": "Ferrero", "barcode": "3017620422003", "base": "g",
"nutrition": { "kcal": 5.39, "protein": 0.063, "carbs": 0.575, "fat": 0.309, "saturatedFat": 0.106, "sugars": 0.563, "salt": 0.0011 },
"measures": [], "composition": null
},
"proposal": { "composition": "Sugar, palm oil, hazelnuts 13%, skimmed milk powder 8.7%, fat-reduced cocoa 7.4%" },
"createdAt": "2026-10-02T06:31:12.000Z",
"reviewedAt": null,
"reviewNote": null
}
],
"nextOffset": null
}
FieldTypeDescription
idstringThe correction's id.
foodIdstring or nullYour food the change was made in, or null once that food is deleted.
productobjectThe catalogue product the change is for.
statusstringpending until reviewed, then accepted or rejected; superseded when a later change to the same food replaced it. One of pending, accepted, rejected or superseded.
originalobjectThe product as it was: name, brand, barcode, base, measures, composition, and nutrition per one base unit, such as per gram.
proposalobjectOnly the fields you changed, in the same form, with their new values.
createdAtdate-timeWhen you made the change.
reviewedAtdate-time or nullWhen it was reviewed, or null while pending.
reviewNotestring or nullA note from the review, if any.
Terminal window
curl "https://app.splot.health/v1/food-corrections?limit=10" \
-H "Authorization: Bearer $SPLOT_API_KEY"

Last updated