Create Dependent Variable

POST

Args: 1. Request body with 1) question type/experiment focus string Enum, and 2) question text string (both from user input on Ideation page).

Returns: Dependent variable string (“Survey Prompt” that synthetic respondents will respond to).

Purpose: Generate a dependent variable string, so user can review DV/survey prompt before running experiment. Final DV/survey prompt gets added to experiment object.

Request

This endpoint expects an object.
question_textstringRequired
question_typestringOptional

Response

This endpoint returns an object.
dependent_variablestring