Detect Form (Sync)
Detect Form (Sync)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Request
Response
The type of object. Will always be "form_detection_run".
A unique identifier for the form detection run.
Example: "sgr_xK9mLPqRtN3vS8wF5hB2cQ"
The status of the form detection run:
"PROCESSING"- The form is still being analyzed"PROCESSED"- Form detection completed successfully"FAILED"- Form detection failed (seefailureReasonfor details)
The reason for failure.
Availability: Present when status is "FAILED".
Possible values include:
UNABLE_TO_DOWNLOAD_FILEFILE_TYPE_NOT_SUPPORTEDFILE_SIZE_TOO_LARGECORRUPT_FILEFIELD_DETECTION_ERRORPASSWORD_PROTECTED_FILEFAILED_TO_CONVERT_TO_PDFEMPTY_SCHEMAINTERNAL_ERRORINVALID_OPTIONSOUT_OF_CREDITS
Note: Additional failure reasons may be added in the future. Your integration should handle unknown values gracefully.
A human-readable description of the failure.
Availability: Present when status is "FAILED".
The detected schema and optional mapping metadata.
Availability: Present when status is "PROCESSED".
Metrics about the form detection process.
Availability: Present when status is "PROCESSED".

