Question management

Get unanswered question counts

Get number of unanswered questions grouped by value_tag. The list is ordered from highest count to lowest.

GET
/questions/unanswered

Query Parameters

count?number

The number of distinct value_tags to return

Default25
Range1 <= value
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"
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)

Default1
Range1 <= value
reserved_barcode?boolean

If true, also return questions about products with reserved barcodes

Defaultfalse
campaigns?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"
}