Question management
Get unanswered question counts
Get number of unanswered questions grouped by value_tag.
The list is ordered from highest count to lowest.
Query Parameters
count?number
The number of distinct value_tags to return
Default
25Range
1 <= valueserver_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"type?string
Filter by insight type
countries?string
Comma separated list, filter by country value (2-letter code)
page?integer
Page index to return (starting at 1)
Default
1Range
1 <= valuereserved_barcode?boolean
If true, also return questions about products with reserved barcodes
Default
falsecampaigns?string
Filter by annotation campaigns (the insight must have all the campaigns) An annotation campaign allows to only retrieve questions or insights based on arbitrary criteria defined during insight import.
predictor?string
Filter by predictor value A predictor refers to the model/method that was used to generate the prediction.
Response Body
curl -X GET "https://robotoff.openfoodfacts.org/api/v1/questions/unanswered?count=25&server_type=off&type=string&countries=string&page=1&reserved_barcode=false&campaigns=agribalyse-category&predictor=universal-logo-detector"{
"count": 0,
"questions": [
"string"
],
"status": "found"
}