Async analyze contract layout

POST {{baseUrl}}/api/{{apiV2Version}}/segmentation/:document-id/contract-layout/async

Request Body

namerequireddescription
callbackfalseSuccessful callback URL, will be called using http post

Detected Object Items

NameDescription
typeDetected object types. The types can be one of these values: title
pageThe page index of the detected object. 0 is the first page.
boundingBoxCoordinate of the detected object, the order is top, left, bottom, and right.
pdfCoordianteCoordinate of the detected object, the order is top, left, bottom, and right.
pdfTextThe text content of the detected object.

Request Body

{"callback"=>"http://localhost:3000/"}

RESPONSES

status: OK

{"jobId":"615ab248ada9a73c5de7b6e1","taskCategory":"SEGMENTATION","taskSubcategory":"CONTRACT_LAYOUT","status":"Processing","startDateTime":"2021-10-04T07:50:32.948Z","expirationDateTime":"2021-10-05T07:50:32.948Z"}