Update an RFP
/api/v1/rfps/{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
Background about the bid given to the model when answering
Responses
Section titled “Responses”200
The updated RFP
The updated RFP
object
The RFP’s page in the web app
Processing and review state
Background about the bid given to the model. Returned by GET /api/v1/rfps/{id} only, not in lists.
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