Update a questionnaire
/api/v1/questionnaires/{id}aasm_state accepts only needs_input and approved; any other value
is dropped silently and the rest of the update still applies. Setting
approved also approves every item that can be approved.
Authorizations
Section titled “Authorizations”Path Parameters
Section titled “Path Parameters”The record’s prefixed ID
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Defaults to the filename on create
.xlsx or .docx; multipart create only
Other values are dropped silently
Responses
Section titled “Responses”200
The updated questionnaire
The updated questionnaire
object
The questionnaire’s page in the web app
Processing and review state
Set for questionnaires answered in a third-party portal
Item counts. Discarded items are excluded.
object
Items the AI could not answer confidently
Approved items as a percentage of total
403
Insufficient scope, role, or credits
Insufficient scope, role, or credits
object
object
A stable machine-readable code
Present on validation errors; one entry per failed validation
404
No such record in this account
No such record in this account
object
object
A stable machine-readable code
Present on validation errors; one entry per failed validation
422
The record could not be saved
The record could not be saved
object
object
A stable machine-readable code
Present on validation errors; one entry per failed validation