---
title: "Generate a CSV dump"
method: GET
path: "/insights/dump"
tags: ["Insight Management"]
---

# Generate a CSV dump

`GET /insights/dump`

Generate a CSV dump of insights with specific criteria.
If more than 10,000 insights match provided criteria and `count` is not provided, a `HTTP 400` is returned

## Query parameters

- `server_type` 'off' | 'obf' | 'opff' | 'opf' | 'off_pro'
- `value_tag` string
- `insight_types` string
- `barcode` string
- `annotated` boolean, nullable
- `count` integer, nullable

## Response `200`

The CSV dump

## Other responses

- `204` — HTTP 204 is returned if no insights were found
- `400` — HTTP 400 is returned if more than 10,000 insights match the criteria and `count` is not provided

---

[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/versions/23d26c6d55e6/schema)
