Skip to main content
PUT
Replaces the question quotas of one question. Send the full list you want to keep; an empty array removes every quota on the question. Other questions and the study-level quota are not affected.
string
required
The study ID.
string
required
A Multiple Choice question in the study.
The request body is a JSON array of buckets, up to 50, unique per match and value:
string
required
equals (exactly that one option selected) or includes (the option is among the selected options). includes is only accepted on multi-select questions.
string
required
The exact option text in the study’s default language. A value that matches no option is saved but never fills.
integer
required
Completes allowed for this option. 0 closes the option: the next participant who chooses it is screened out.
string
default:"choice"
Always choice.

Response

The saved configuration: { question_id, buckets }, same shape as one entry of List question quotas. Returns 404 for an unknown question and 422 when the question is not Multiple Choice or an includes bucket targets a single-select question.
POST /studies/{id}/questions/{question_id}/quotas/evaluate with { "values": ["iPhone"], "others": [] } tells you whether that answer would be screened out right now, without recording anything.