Skip to main content
POST
AI edit questions (stateless)
A stateless AI editing endpoint: send a list of questions and an instruction, get back the transformed list. Nothing is persisted — use it to power your own editing UI, then save via the batch questions endpoint. For an agent that edits and saves the study directly, use the agent endpoint instead.
string
required
The study ID (used for context and access control).
string
required
The editing instruction.
object[]
required
The current question list to transform.
string
required
The language the questions are written in.

Response

object[]
The transformed questions. Newly added questions are flagged with is_new: true.
object
A structured description of what changed.
string[]
IDs of questions the AI removed.