Enhance a supplied answer
POST
/api/v1/rfps/{rfp_id}/rfp_items/{id}/ai_enhance_answerReturns the enhanced text without saving it — PATCH it back onto the item if you want to keep it. Synchronous. Consumes credits.
Authorizations
Section titled “Authorizations”Path Parameters
Section titled “Path Parameters”NameType
rfp_id
required
string
Example
rfp_1a2bThe RFP’s prefixed ID
id
required
string
The record’s prefixed ID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
original_answer
required
string
Responses
Section titled “Responses”200
The enhanced answer
The enhanced answer
Response body
Media typeapplication/json
object
answer
string
403
Out of credits, or no active subscription (usage_blocked)
Out of credits, or no active subscription (usage_blocked)
Response body
Media typeapplication/json
object
error
object
code
string
A stable machine-readable code
message
string
details
Array<string>
Present on validation errors; one entry per failed validation
404
No such record in this account
No such record in this account
Response body
Media typeapplication/json
object
error
object
code
string
A stable machine-readable code
message
string
details
Array<string>
Present on validation errors; one entry per failed validation
422
A required parameter is missing
A required parameter is missing
Response body
Media typeapplication/json
object
error
object
code
string
A stable machine-readable code
message
string
details
Array<string>
Present on validation errors; one entry per failed validation