Submit extraction feedback
Submits feedback on an extraction result. Feedback is surfaced to the team that configures your
workspace and is used to improve extraction quality. Reference a specific field with fieldId,
or omit it for feedback on the whole extraction.
Authentication
Authorizationstring
Use the API key format: api-key <token>.
Path parameters
extractionId
Extraction identifier returned when the extraction was created.
Request
This endpoint expects an object.
message
Human-readable feedback message. Maximum length: 1024 characters.
type
Feedback type. ERROR marks the extraction as needing correction and review. INFO records a note without marking the extraction as incorrect. Defaults to ERROR when omitted.
fieldId
Optional extracted field identifier. Include it when feedback applies to a specific field from output.fields; omit it for general extraction feedback.
Response
Feedback recorded.
id
Feedback identifier.
extractionId
The extraction this feedback belongs to.
message
The submitted feedback text.
type
Feedback type accepted by Document Insights.
fieldId
The field identifier supplied in the request. Returned as null for general extraction feedback.
createdAt
UTC timestamp when the feedback was accepted.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
406
Not Acceptable Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error