Customize Study Plan
Run one resumable turn through the same planning agent and tools used by the dashboard’s Customize Plan page.
The conversation id is stored on the study. Questions are returned to the caller; completed plan markdown is persisted automatically.
Authorizations
Authenticate with an API key (prefixed ui_sk_) or a JWT token from the dashboard.
Headers
Platform admins only: choose an organization for scoped reads and writes. Required to change another organization's study or use its wallet.
128Path Parameters
Body
One user turn for the stateful Customize Plan conversation.
1 - 20000human relays required decisions; agent makes reviewable assumptions when possible.
human, agent Caller workflow constraint, kept separate from participant-facing research content. This endpoint never launches recruitment.
review_before_fieldwork, draft_only Optional native concept-image attachment for this turn. The backend validates, stores, and makes it available to Customize Plan.
Response
Successful Response
The next Customize Plan message plus the study's resulting state.
question, message, study_plan Lightweight study shape returned by the list endpoint (heavy fields such as the study plan and screener questions are stripped — fetch by id).
review_before_fieldwork, draft_only 
