Forms
Stop an AI build
/v1/forms/{formId}/build/stopStop the form's AI build. The questions added so far stay in the draft. If there's no build or it already ended, nothing happens. Returns the latest build, or null.
Path parameters
formIdstringrequiredThe form's id.
Response
Or null.
buildIdstringrequiredThe build's id.
statusenumrequiredplanningwhile AI decides the questions, thenbuildingwhile it adds them to the draft. It ends asdone,failedorstopped.One of
"planning","building","done","failed","stopped"planone of 2requiredThe form AI planned, with its name and the questions of each step. Null until the plan is ready.
Show 2 optionsHide 2 options
Option 1
namestringrequiredstepsarray of objectrequiredShow 2 fieldsHide 2 fields
titlestringrequiredquestionsarray of stringrequired
null
addedintegerrequiredHow many of the
totalquestions are in the draft so far.-9007199254740991–9007199254740991
skippedintegerrequiredHow many questions couldn't be built.
-9007199254740991–9007199254740991
skippedLabelsarray of stringrequiredThe labels of the questions that couldn't be built.
totalintegerrequiredHow many questions AI planned.
-9007199254740991–9007199254740991
errorstring or nullrequiredWhy the build failed. Null unless it failed.
startedAtnumberrequiredendedAtnumber or nullrequired
Errors answer with a status and the error shape.