Skip to main content
POST
/
document-extractions
/
{documentId}
/
feedback
Submit feedback for a document extraction
curl --request POST \
  --url https://api.example.com/document-extractions/{documentId}/feedback \
  --header 'Content-Type: application/json' \
  --data '
{
  "feedbackType": "FIELD_CORRECTION",
  "fieldKey": "<string>",
  "originalValue": "<string>",
  "correctedValue": "<string>",
  "comment": "<string>"
}
'
{
  "feedbackId": "<string>"
}

Path Parameters

documentId
string
required

Body

application/json
feedbackType
enum<string>
required
Available options:
FIELD_CORRECTION,
FIELD_VALIDATION,
DOCUMENT_REJECTION
fieldKey
string
originalValue
string
correctedValue
string
comment
string

Response

200 - application/json
feedbackId
string
required

ID of the persisted feedback record