---
title: "Import batch job results"
method: POST
path: "/batch/import"
tags: ["Batch Job"]
---

# Import batch job results

`POST /batch/import`

Import batch job data into Robotoff database. This endpoint is secured and requires bearer authentication.

This endpoint is mainly used by the batch job once the job is finished.

## Query parameters

- `job_type` 'ingredients_spellcheck', required
- `batch_dir` string, required

## Response `200`

Data successfully imported.

- object
  - `status` string — Request successful. Importing processed data.

## Other responses

- `400` — An HTTP 400 is returned if the authentification key is invalid or if the job_type is not supported.

---

[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)
