---
title: "List food corrections"
method: GET
path: "/food-corrections"
tags: ["Foods"]
---

# List food corrections

`GET /food-corrections`

## Request

- Base URL: `https://app.splot.health/v1`
- URL: `https://app.splot.health/v1/food-corrections`
- Auth: HTTP bearer

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

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

A page of corrections.

- CorrectionPage
  - `corrections` FoodCorrection[], required: The page of corrections, newest first.
    - `id` string, uuid, required: The correction's id.
    - `foodId` string, uuid, nullable, required: Your food the change was made in, or `null` once that food is deleted.
    - `product` object, required: The catalogue product the change is for.
      - `library` 'splot' | 'off', required: The library the product is in.
      - `key` string, required: The product's key in that library.
    - `status` 'pending' | 'accepted' | 'rejected' | 'superseded', required: `pending` until reviewed, then `accepted` or `rejected`; `superseded` when a later change to the same food replaced it.
    - `original` object, required: The product as it was: `name`, `brand`, `barcode`, `base`, `measures`, `composition`, and `nutrition` per one base unit, such as per gram.
    - `proposal` object, required: Only the fields you changed, in the same form, with their new values.
    - `createdAt` string, date-time, required: When you made the change.
    - `reviewedAt` string, date-time, nullable, required: When it was reviewed, or `null` while pending.
    - `reviewNote` string, nullable, required: A note from the review, if any.
  - `nextOffset` integer, nullable, required: The offset of the next page, or null on the last.

## Other responses

- `400`: The body or query is invalid; `issues` says which fields. Or the body is not valid JSON.
- `401`: The key is missing, revoked or expired.
- `403`: The key's permission doesn't allow this request, or you haven't yet agreed to how Splot handles health information.
- `429`: Too many requests. Wait for `Retry-After` seconds.

---

[API](https://skmtc.dev/splot/apis/splot-api.md) · [All operations](https://skmtc.dev/splot/apis/splot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/splot/apis/splot-api/revisions/02f2a6340fe9?raw)
