Insight management
Generate a CSV 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?string
The server type (=project) to use, such as 'off' (Open Food Facts), 'obf' (Open Beauty Facts),...
Default
"off"
Value in
"off" | "obf" | "opff" | "opf" | "off_pro"
value_tag?string
Filter by value tag, i.e the value that is going to be sent to Product Opener
insight_types?string
Comma-separated list, filter by insight types
barcode?string
Filter by barcode value
annotated?boolean | null
The annotation status of the insight. If not provided, both annotated and non-annotated insights are returned
Default
null
count?integer | null
Maximum number of insights to return. If not provided, an HTTP 400 response may be returned if more than 10,000 insights match the criteria
Default
null
Range
0 <= value <= 10000
Response Body
curl -X GET "https://robotoff.openfoodfacts.org/api/v1/insights/dump?server_type=off&value_tag=string&insight_types=brand%2Clabel&barcode=5410041040807"
"string"
Empty
Empty