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
get/insights/dump
Query parameters
server_type'off' | 'obf' | 'opff' | 'opf' | 'off_pro'
The server type (=project) to use, such as 'off' (Open Food Facts), 'obf' (Open Beauty Facts),...
value_tagstring
Filter by value tag, i.e the value that is going to be sent to Product Opener
insight_typesstring
Example:brand,label
Comma-separated list, filter by insight types
barcodestring
Example:5410041040807
Filter by barcode value
annotatedboolean nullable
The annotation status of the insight. If not provided, both annotated and non-annotated insights are returned
countinteger nullable
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
Response
The CSV dump