Skip to content

Submit section-level feedback

POST
/api/canvas/{deal_id}/feedback
curl --request POST \
--url https://example.com/api/canvas/example/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "section_key": "example", "rating": 1, "comment": "example", "tags": [ "example" ] }'

Submit a rating and optional comment for a memo section. Does NOT trigger a revision — use the revision endpoint for that.

deal_id
required
Deal Id
string
Media type application/json
SectionFeedbackRequest

Request body for submitting section feedback.

object
section_key
required
Section Key

Section key (e.g., ‘executive_summary’)

string
rating
required
Rating

Quality rating (1=poor, 5=excellent)

integer
>= 1 <= 5
comment
Any of:
string
<= 500 characters
tags
Any of:
Array<string>
Example generated
{
"section_key": "example",
"rating": 1,
"comment": "example",
"tags": [
"example"
]
}

Successful Response

Media type application/json
SectionFeedbackResponse

Response for feedback submission.

object
success
required
Success
boolean
feedback_id
required
Feedback Id
string
Example generated
{
"success": true,
"feedback_id": "example"
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}