---
title: "Import image predictions"
method: POST
path: "/image_predictions/import"
tags: ["Image Predictions"]
---

# Import image predictions

`POST /image_predictions/import`

Bulk import image predictions into the database

## Request body

- object
  - `predictions` object[], required
    - `barcode` string, required — Product barcode
    - `image_id` string, required — Image identifier
    - `model_name` string, required — Name of the prediction model
    - `model_version` string, required — Version of the prediction model
    - `data` object, required — Prediction data
    - `server_type` string — Server type

## Response `200`

Import successful

---

[API](https://skmtc.net/openfoodfacts/apis/api-reference.md) · [All operations](https://skmtc.net/openfoodfacts/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openfoodfacts/api-reference/revisions/23d26c6d55e6/schema)
