Skip to main content
GET
Lists logic rules. Provide at least one of question_id or study_id.
string
All rules in a study.
string
Rules attached to one question.
string
Filter by language, using its full name exactly as stored (e.g. English, not en). The match is case-sensitive.
string
branching or display. Omit for both.

Response

An array of logic rules:
string
Rule ID.
string
The study.
string
The question the rule belongs to: the answered question for a branching rule, the shown/hidden question for a display rule.
string
branching (changes the path after question_id is answered) or display (shows question_id only when its condition on an earlier answer passes).
string | null
Display rules: the earlier question whose answer is tested. null for branching rules.
string
Condition operator: ==, !=, <, <=, >, >=, COUNT_LT, INCLUDES, NOT_INCLUDES, ALWAYS, or SMART_CONDITION (AI-evaluated natural-language rule). INCLUDE_RESPONSE_IN_NEXT_QUESTION is a legacy operator that may appear on older studies — use question mentions instead.
string | null
The value to compare against — or the natural-language condition for SMART_CONDITION.
string
string, int, or smart_condition.
string | null
null for display rules. Otherwise next_question_id, move_to_question_group, end_interview, redirect_url, or screen_out.
string | null
Jump target for next_question_id actions.
string | null
Jump target for move_to_question_group actions; the interview enters at the group’s first question.
string | null
Target URL for redirect_url actions.
boolean
Whether the rule ends the interview.
string
The language the rule applies to, by full name (e.g. English).