Perform document analysis

POST {{baseUrl}}/actions/analyzeDocument

Perform different types of image analysis.

Request Body

{"document"=>{"source"=>"OBJECT_STORAGE", "namespaceName"=>"<namespace_name>", "bucketName"=>"<bucket_name>", "objectName"=>"<object_name>"}, "features"=>[{"featureType"=>"TEXT_DETECTION"}, {"featureType"=>"KEY_VALUE_DETECTION"}], "compartmentId"=>"{{compartment_ocid}}", "documentType"=>"INVOICE", "language"=>"CES", "outputLocation"=>{"bucketName"=>"sunt_pariatur_dolor_anim", "namespaceName"=>"loremet", "prefix"=>"laboris qui"}}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;documentMetadata&quot;:{&quot;mimeType&quot;:&quot;fugiat&quot;,&quot;pageCount&quot;:33866370},&quot;pages&quot;:[{&quot;pageNumber&quot;:39649635,&quot;detectedDocumentTypes&quot;:[{&quot;confidence&quot;:0.742782085397981,&quot;documentType&quot;:&quot;cupidatat culpa Ut proident&quot;},{&quot;confidence&quot;:0.765457956519553,&quot;documentType&quot;:&quot;ad aute est pariatur&quot;}],&quot;detectedLanguages&quot;:[{&quot;confidence&quot;:0.09128773740308005,&quot;languageCode&quot;:&quot;ELL&quot;},{&quot;confidence&quot;:0.7923151965180764,&quot;languageCode&quot;:&quot;HUN&quot;}],&quot;dimensions&quot;:{&quot;height&quot;:-97380560.24656539,&quot;unit&quot;:&quot;INCH&quot;,&quot;width&quot;:-34253030.91198435},&quot;documentFields&quot;:[{&quot;fieldType&quot;:&quot;LINE_ITEM_FIELD&quot;,&quot;fieldValue&quot;:{&quot;boundingPolygon&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;confidence&quot;:0.7049665500867468,&quot;valueType&quot;:&quot;STRING&quot;,&quot;wordIndexes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;text&quot;:&quot;minim tempor&quot;},&quot;fieldLabel&quot;:{&quot;name&quot;:&quot;cons&quot;,&quot;confidence&quot;:0.4671552299135242},&quot;fieldName&quot;:{&quot;name&quot;:&quot;ut nostrud Excepteur cillum&quot;,&quot;boundingPolygon&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;confidence&quot;:0.5738335717854008,&quot;wordIndexes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}},{&quot;fieldType&quot;:&quot;LINE_ITEM&quot;,&quot;fieldValue&quot;:{&quot;boundingPolygon&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;confidence&quot;:0.17725074405852181,&quot;valueType&quot;:&quot;INTEGER&quot;,&quot;wordIndexes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;text&quot;:&quot;id sit&quot;},&quot;fieldLabel&quot;:{&quot;name&quot;:&quot;voluptate nostrud culpa&quot;,&quot;confidence&quot;:0.04951595634759731},&quot;fieldName&quot;:{&quot;name&quot;:&quot;quis anim nostrud&quot;,&quot;boundingPolygon&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;confidence&quot;:0.10069353894546262,&quot;wordIndexes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}}],&quot;lines&quot;:[{&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;confidence&quot;:0.4606827583789568,&quot;text&quot;:&quot;dolore&quot;,&quot;wordIndexes&quot;:[13009772,33952162]},{&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;confidence&quot;:0.23308514115435264,&quot;text&quot;:&quot;culpa ut&quot;,&quot;wordIndexes&quot;:[73790759,83772310]}],&quot;tables&quot;:[{&quot;bodyRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;columnCount&quot;:45023271,&quot;confidence&quot;:0.7568465136234792,&quot;footerRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;headerRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;rowCount&quot;:49742925},{&quot;bodyRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;columnCount&quot;:41109552,&quot;confidence&quot;:0.881984645146791,&quot;footerRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;headerRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;rowCount&quot;:70563231}],&quot;words&quot;:[{&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;confidence&quot;:0.9973977575799453,&quot;text&quot;:&quot;amet incididunt aliqua exercitation&quot;},{&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;confidence&quot;:0.07929797852851861,&quot;text&quot;:&quot;est aliquip minim&quot;}]},{&quot;pageNumber&quot;:32256836,&quot;detectedDocumentTypes&quot;:[{&quot;confidence&quot;:0.43898156597510307,&quot;documentType&quot;:&quot;minim aute aliquip nulla&quot;},{&quot;confidence&quot;:0.36505838173180005,&quot;documentType&quot;:&quot;consectetur irure officia&quot;}],&quot;detectedLanguages&quot;:[{&quot;confidence&quot;:0.9188803914172712,&quot;languageCode&quot;:&quot;ENG&quot;},{&quot;confidence&quot;:0.33355997083311206,&quot;languageCode&quot;:&quot;SLK&quot;}],&quot;dimensions&quot;:{&quot;height&quot;:-27089077.790097356,&quot;unit&quot;:&quot;INCH&quot;,&quot;width&quot;:-27661084.71597053},&quot;documentFields&quot;:[{&quot;fieldType&quot;:&quot;LINE_ITEM&quot;,&quot;fieldValue&quot;:{&quot;boundingPolygon&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;confidence&quot;:0.07696782510232492,&quot;valueType&quot;:&quot;NUMBER&quot;,&quot;wordIndexes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;text&quot;:&quot;culpa et proident occae&quot;},&quot;fieldLabel&quot;:{&quot;name&quot;:&quot;eu esse reprehenderit in&quot;,&quot;confidence&quot;:0.15280968890920388},&quot;fieldName&quot;:{&quot;name&quot;:&quot;sed&quot;,&quot;boundingPolygon&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;confidence&quot;:0.006088720150796201,&quot;wordIndexes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}},{&quot;fieldType&quot;:&quot;LINE_ITEM&quot;,&quot;fieldValue&quot;:{&quot;boundingPolygon&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;confidence&quot;:0.28781440540696157,&quot;valueType&quot;:&quot;INTEGER&quot;,&quot;wordIndexes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;text&quot;:&quot;ad consectetur reprehend&quot;},&quot;fieldLabel&quot;:{&quot;name&quot;:&quot;non&quot;,&quot;confidence&quot;:0.5392047331761329},&quot;fieldName&quot;:{&quot;name&quot;:&quot;sunt tempor&quot;,&quot;boundingPolygon&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;confidence&quot;:0.6961661078451826,&quot;wordIndexes&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}}],&quot;lines&quot;:[{&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;confidence&quot;:0.05949049207432178,&quot;text&quot;:&quot;Excepteur voluptate eu qui magna&quot;,&quot;wordIndexes&quot;:[99730822,-71555708]},{&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;confidence&quot;:0.6977890379134104,&quot;text&quot;:&quot;sed qui&quot;,&quot;wordIndexes&quot;:[39054147,-52699969]}],&quot;tables&quot;:[{&quot;bodyRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;columnCount&quot;:90657581,&quot;confidence&quot;:0.45832037148679783,&quot;footerRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;headerRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;rowCount&quot;:95942683},{&quot;bodyRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;columnCount&quot;:86117139,&quot;confidence&quot;:0.3785852461972812,&quot;footerRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;headerRows&quot;:[{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;cells&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;rowCount&quot;:93647309}],&quot;words&quot;:[{&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;confidence&quot;:0.9763933195897876,&quot;text&quot;:&quot;voluptate veniam&quot;},{&quot;boundingPolygon&quot;:{&quot;normalizedVertices&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;confidence&quot;:0.15410706255204465,&quot;text&quot;:&quot;deserunt elit quis&quot;}]}],&quot;detectedDocumentTypes&quot;:[{&quot;confidence&quot;:0.22209601640588872,&quot;documentType&quot;:&quot;cupidatat&quot;},{&quot;confidence&quot;:0.02377267586618048,&quot;documentType&quot;:&quot;ullamco esse et dolor irure&quot;}],&quot;detectedLanguages&quot;:[{&quot;confidence&quot;:0.9686223854261133,&quot;languageCode&quot;:&quot;NLD&quot;},{&quot;confidence&quot;:0.7360862320954453,&quot;languageCode&quot;:&quot;ELL&quot;}],&quot;documentClassificationModelVersion&quot;:&quot;conse&quot;,&quot;errors&quot;:[{&quot;code&quot;:&quot;elit ir&quot;,&quot;message&quot;:&quot;dolor officia&quot;},{&quot;code&quot;:&quot;sed ullamco&quot;,&quot;message&quot;:&quot;dolore officia&quot;}],&quot;keyValueDetectionModelVersion&quot;:&quot;qui ex&quot;,&quot;languageClassificationModelVersion&quot;:&quot;fugiat&quot;,&quot;searchablePdf&quot;:&quot;SxiCG9FY/LZdz1cjJiJ9Ae==&quot;,&quot;tableDetectionModelVersion&quot;:&quot;nostrud&quot;,&quot;textDetectionModelVersion&quot;:&quot;officia labore pariatur dolor exercitation&quot;}