{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-index.sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"API Quickstart","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"color":"#cdcefb","fontSize":"14px","fontWeight":"700","textTransform":"uppercase","letterSpacing":"0.05em","display":"block","marginBottom":"-30px"}},"children":["Get Started"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"api-quickstart","__idx":0},"children":["API Quickstart"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload a document, create a parsing, and extract structured JSON with the Anesya API."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This guide walks through the fastest end-to-end Anesya workflow:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Upload a document"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Parse it"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Wait for processing to finish"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Extract structured data with a schema"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Retrieve the final JSON result"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["By the end of this quickstart, you will have a complete document-to-JSON pipeline running with the public API."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you only need to understand supported payloads first, continue with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/parsing"},"children":["Parsing"]}," and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/extract"},"children":["Extract"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-we-are-going-to-build","__idx":1},"children":["What we are going to build"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In this quickstart, we will process one business document such as an invoice, form, or contract page."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The goal is to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["store the source document in Anesya"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["generate OCR and markdown content with a parsing"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["apply one schema to the parsing"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["receive a structured JSON result that can be used in your product, workflow, or LLM pipeline"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is the most explicit and safest integration pattern because every step is visible and easy to debug."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-the-flow-works","__idx":2},"children":["How the flow works"]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"flowchart LR\n    A[Upload document] --> B[Create parsing]\n    B --> C[Poll parsing]\n    C --> D[Create extract]\n    D --> E[Poll extract]\n    E --> F[Use structured JSON]\n","diagramHtml":"<svg id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 1270.765625px;\" viewBox=\"0 0 1270.765625 70\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>\n    #diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d foreignObject {\n      overflow: visible;\n    }\n  </style><style>#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .error-icon{fill:#552222;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .error-text{fill:#552222;stroke:#552222;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edge-thickness-normal{stroke-width:1px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edge-thickness-thick{stroke-width:3.5px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edge-pattern-solid{stroke-dasharray:0;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edge-pattern-dashed{stroke-dasharray:3;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edge-pattern-dotted{stroke-dasharray:2;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .marker{fill:#333333;stroke:#333333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .marker.cross{stroke:#333333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d p{margin:0;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .label{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;color:#333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .cluster-label text{fill:#333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .cluster-label span{color:#333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .cluster-label span p{background-color:transparent;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .label text,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d span{fill:#333;color:#333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node rect,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node circle,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node ellipse,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node polygon,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .rough-node .label text,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node .label text,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .image-shape .label,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .icon-shape .label{text-anchor:middle;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .rough-node .label,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node .label,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .image-shape .label,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .icon-shape .label{text-align:center;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node.clickable{cursor:pointer;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .arrowheadPath{fill:#333333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edgePath .path{stroke:#333333;stroke-width:1px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .flowchart-link{stroke:#333333;fill:none;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .cluster text{fill:#333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .cluster span{color:#333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d rect.text{fill:none;stroke-width:0;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .icon-shape,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .icon-shape p,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .icon-shape .label rect,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d .node .neo-node{stroke:#9370DB;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].node rect,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].cluster rect,#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M193.422,35L197.589,35C201.755,35,210.089,35,217.755,35C225.422,35,232.422,35,235.922,35L239.422,35\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MTkzLjQyMTg3NSwieSI6MzV9LHsieCI6MjE4LjQyMTg3NSwieSI6MzV9LHsieCI6MjQzLjQyMTg3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointEnd)\"></path><path d=\"M408.375,35L412.542,35C416.708,35,425.042,35,432.708,35C440.375,35,447.375,35,450.875,35L454.375,35\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6NDA4LjM3NSwieSI6MzV9LHsieCI6NDMzLjM3NSwieSI6MzV9LHsieCI6NDU4LjM3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointEnd)\"></path><path d=\"M601.984,35L606.151,35C610.318,35,618.651,35,626.318,35C633.984,35,640.984,35,644.484,35L647.984,35\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6NjAxLjk4NDM3NSwieSI6MzV9LHsieCI6NjI2Ljk4NDM3NSwieSI6MzV9LHsieCI6NjUxLjk4NDM3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointEnd)\"></path><path d=\"M812.469,35L816.635,35C820.802,35,829.135,35,836.802,35C844.469,35,851.469,35,854.969,35L858.469,35\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-L_D_E_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_E_0\" data-points=\"W3sieCI6ODEyLjQ2ODc1LCJ5IjozNX0seyJ4Ijo4MzcuNDY4NzUsInkiOjM1fSx7IngiOjg2Mi40Njg3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointEnd)\"></path><path d=\"M1001.609,35L1005.776,35C1009.943,35,1018.276,35,1025.943,35C1033.609,35,1040.609,35,1044.109,35L1047.609,35\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-L_E_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_E_F_0\" data-points=\"W3sieCI6MTAwMS42MDkzNzUsInkiOjM1fSx7IngiOjEwMjYuNjA5Mzc1LCJ5IjozNX0seyJ4IjoxMDUxLjYwOTM3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_E_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_E_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-flowchart-A-0\" data-look=\"classic\" transform=\"translate(100.7109375, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-92.7109375\" y=\"-27\" width=\"185.421875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-62.7109375, -12)\"><rect></rect><foreignObject width=\"125.421875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Upload document</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-flowchart-B-1\" data-look=\"classic\" transform=\"translate(325.8984375, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-82.4765625\" y=\"-27\" width=\"164.953125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-52.4765625, -12)\"><rect></rect><foreignObject width=\"104.953125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Create parsing</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-flowchart-C-3\" data-look=\"classic\" transform=\"translate(530.1796875, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-71.8046875\" y=\"-27\" width=\"143.609375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-41.8046875, -12)\"><rect></rect><foreignObject width=\"83.609375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Poll parsing</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-flowchart-D-5\" data-look=\"classic\" transform=\"translate(732.2265625, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-80.2421875\" y=\"-27\" width=\"160.484375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-50.2421875, -12)\"><rect></rect><foreignObject width=\"100.484375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Create extract</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-flowchart-E-7\" data-look=\"classic\" transform=\"translate(932.0390625, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-69.5703125\" y=\"-27\" width=\"139.140625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-39.5703125, -12)\"><rect></rect><foreignObject width=\"79.140625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Poll extract</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-flowchart-F-9\" data-look=\"classic\" transform=\"translate(1157.1875, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-105.578125\" y=\"-27\" width=\"211.15625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-75.578125, -12)\"><rect></rect><foreignObject width=\"151.15625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Use structured JSON</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><defs><filter id=\"diagram-9b6abbda68703c96d1c1d52bdb83d0af24e86870231c31c946b4ba2d295ccd9d-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs></svg>","diagramHtmlDark":"<svg id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 1270.765625px;\" viewBox=\"0 0 1270.765625 70\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>\n    #diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 foreignObject {\n      overflow: visible;\n    }\n  </style><style>#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .error-icon{fill:#a44141;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .error-text{fill:#ddd;stroke:#ddd;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edge-thickness-normal{stroke-width:1px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edge-thickness-thick{stroke-width:3.5px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edge-pattern-solid{stroke-dasharray:0;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .marker.cross{stroke:lightgrey;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 p{margin:0;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .label{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;color:#ccc;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .cluster-label text{fill:#F9FFFE;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .cluster-label span{color:#F9FFFE;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .cluster-label span p{background-color:transparent;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .label text,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 span{fill:#ccc;color:#ccc;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node rect,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node circle,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node ellipse,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node polygon,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node path{fill:#1f2020;stroke:#ccc;stroke-width:1px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .rough-node .label text,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node .label text,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .image-shape .label,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .icon-shape .label{text-anchor:middle;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .rough-node .label,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node .label,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .image-shape .label,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .icon-shape .label{text-align:center;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node.clickable{cursor:pointer;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .root .anchor path{fill:lightgrey!important;stroke-width:0;stroke:lightgrey;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .arrowheadPath{fill:lightgrey;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edgePath .path{stroke:lightgrey;stroke-width:1px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .flowchart-link{stroke:lightgrey;fill:none;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edgeLabel p{background-color:hsl(0, 0%, 34.4117647059%);}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .cluster text{fill:#F9FFFE;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .cluster span{color:#F9FFFE;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 rect.text{fill:none;stroke-width:0;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .icon-shape,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .image-shape{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .icon-shape p,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .image-shape p{background-color:hsl(0, 0%, 34.4117647059%);padding:2px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .icon-shape .label rect,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .image-shape .label rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 .node .neo-node{stroke:#ccc;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].node rect,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].cluster rect,#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].node polygon{stroke:url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].node path{stroke:url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-gradient);stroke-width:1px;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].node circle{stroke:url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M193.422,35L197.589,35C201.755,35,210.089,35,217.755,35C225.422,35,232.422,35,235.922,35L239.422,35\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MTkzLjQyMTg3NSwieSI6MzV9LHsieCI6MjE4LjQyMTg3NSwieSI6MzV9LHsieCI6MjQzLjQyMTg3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointEnd)\"></path><path d=\"M408.375,35L412.542,35C416.708,35,425.042,35,432.708,35C440.375,35,447.375,35,450.875,35L454.375,35\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6NDA4LjM3NSwieSI6MzV9LHsieCI6NDMzLjM3NSwieSI6MzV9LHsieCI6NDU4LjM3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointEnd)\"></path><path d=\"M601.984,35L606.151,35C610.318,35,618.651,35,626.318,35C633.984,35,640.984,35,644.484,35L647.984,35\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6NjAxLjk4NDM3NSwieSI6MzV9LHsieCI6NjI2Ljk4NDM3NSwieSI6MzV9LHsieCI6NjUxLjk4NDM3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointEnd)\"></path><path d=\"M812.469,35L816.635,35C820.802,35,829.135,35,836.802,35C844.469,35,851.469,35,854.969,35L858.469,35\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-L_D_E_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_E_0\" data-points=\"W3sieCI6ODEyLjQ2ODc1LCJ5IjozNX0seyJ4Ijo4MzcuNDY4NzUsInkiOjM1fSx7IngiOjg2Mi40Njg3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointEnd)\"></path><path d=\"M1001.609,35L1005.776,35C1009.943,35,1018.276,35,1025.943,35C1033.609,35,1040.609,35,1044.109,35L1047.609,35\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-L_E_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_E_F_0\" data-points=\"W3sieCI6MTAwMS42MDkzNzUsInkiOjM1fSx7IngiOjEwMjYuNjA5Mzc1LCJ5IjozNX0seyJ4IjoxMDUxLjYwOTM3NSwieSI6MzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_E_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_E_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-flowchart-A-0\" data-look=\"classic\" transform=\"translate(100.7109375, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-92.7109375\" y=\"-27\" width=\"185.421875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-62.7109375, -12)\"><rect></rect><foreignObject width=\"125.421875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Upload document</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-flowchart-B-1\" data-look=\"classic\" transform=\"translate(325.8984375, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-82.4765625\" y=\"-27\" width=\"164.953125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-52.4765625, -12)\"><rect></rect><foreignObject width=\"104.953125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Create parsing</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-flowchart-C-3\" data-look=\"classic\" transform=\"translate(530.1796875, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-71.8046875\" y=\"-27\" width=\"143.609375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-41.8046875, -12)\"><rect></rect><foreignObject width=\"83.609375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Poll parsing</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-flowchart-D-5\" data-look=\"classic\" transform=\"translate(732.2265625, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-80.2421875\" y=\"-27\" width=\"160.484375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-50.2421875, -12)\"><rect></rect><foreignObject width=\"100.484375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Create extract</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-flowchart-E-7\" data-look=\"classic\" transform=\"translate(932.0390625, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-69.5703125\" y=\"-27\" width=\"139.140625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-39.5703125, -12)\"><rect></rect><foreignObject width=\"79.140625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Poll extract</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-flowchart-F-9\" data-look=\"classic\" transform=\"translate(1157.1875, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-105.578125\" y=\"-27\" width=\"211.15625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-75.578125, -12)\"><rect></rect><foreignObject width=\"151.15625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Use structured JSON</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><defs><filter id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><linearGradient id=\"diagram-6a82c5f23c3e65d81dc0b57ed2b1fe7e56719ed8b7cbff6a78c4eb02a3c5e988-gradient\" gradientUnits=\"objectBoundingBox\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\"><stop offset=\"0%\" stop-color=\"#cccccc\" stop-opacity=\"1\"></stop><stop offset=\"100%\" stop-color=\"hsl(180, 0%, 18.3529411765%)\" stop-opacity=\"1\"></stop></linearGradient></svg>"},"children":["flowchart LR\n    A[Upload document] --> B[Create parsing]\n    B --> C[Poll parsing]\n    C --> D[Create extract]\n    D --> E[Poll extract]\n    E --> F[Use structured JSON]\n"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":3},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before you start, make sure you have:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["an Anesya account"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one API key"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one schema ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one local document file such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoice.pdf"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-create-an-api-key","__idx":4},"children":["1. Create an API key"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create your API key from the Anesya dashboard, then keep it available for the next commands."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If your docs deployment exposes it, you can also follow ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/api_key"},"children":["Create an API key"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-create-or-locate-a-schema","__idx":5},"children":["2. Create or locate a schema"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You need one schema ID for the extract step."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you still need to define your schema, use ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/schemas/create_schema"},"children":["Create schema"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3-export-convenient-shell-variables","__idx":6},"children":["3. Export convenient shell variables"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use environment variables to avoid repeating values in each command."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"macos--linux","__idx":7},"children":["macOS / Linux"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"export ANESYA_API_KEY=\"YOUR_API_KEY\"\nexport ANESYA_SCHEMA_ID=\"YOUR_SCHEMA_ID\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"windows-powershell","__idx":8},"children":["Windows PowerShell"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"powershell","header":{"controls":{"copy":{}}},"source":"$env:ANESYA_API_KEY=\"YOUR_API_KEY\"\n$env:ANESYA_SCHEMA_ID=\"YOUR_SCHEMA_ID\"\n","lang":"powershell"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All API calls below use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-API-Key"]}," header:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"X-API-Key: YOUR_API_KEY\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["curl"]}," commands below use bash-style environment variables such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$ANESYA_API_KEY"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you run them in PowerShell, replace:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$ANESYA_API_KEY"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$env:ANESYA_API_KEY"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$ANESYA_SCHEMA_ID"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$env:ANESYA_SCHEMA_ID"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-upload-a-document","__idx":9},"children":["Step 1: Upload a document"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api/schema/documents/document_create"},"children":["Create document"]}," to upload the source file and get a reusable document ID."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"https://api.anesya.app/v0/documents\" \\\n  -H \"X-API-Key: $ANESYA_API_KEY\" \\\n  -F \"file=@invoice.pdf;type=application/pdf\" \\\n  -F \"filename=invoice.pdf\" \\\n  -F 'metadata={\"source\":\"api-quickstart\"}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"300f339f-da71-4f9f-80f6-c25a63baae75\",\n  \"filename\": \"invoice.pdf\",\n  \"file_url\": \"/v0/documents/300f339f-da71-4f9f-80f6-c25a63baae75/download\",\n  \"metadata\": {\n    \"source\": \"api-quickstart\"\n  },\n  \"page_count\": 3,\n  \"created_at\": \"2025-06-12T14:56:10.682461Z\",\n  \"updated_at\": \"2025-06-12T14:56:10.682461Z\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Save the returned ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},". This is your document ID."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-create-a-parsing","__idx":10},"children":["Step 2: Create a parsing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api/schema/parsings/parsing_create"},"children":["Create parsing"]}," to generate OCR output, markdown content, page-level information, and optional picture descriptions."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"https://api.anesya.app/v0/parsing\" \\\n  -H \"X-API-Key: $ANESYA_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"document\": \"300f339f-da71-4f9f-80f6-c25a63baae75\",\n    \"picture_description_enabled\": false,\n    \"table_verification_enabled\": false,\n    \"model\": \"PIGALLE\",\n    \"metadata\": {\n      \"source\": \"api-quickstart\"\n    }\n  }'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"d1b96998-f20e-4b6f-8fa5-78a70b1db9b2\",\n  \"document\": {\n    \"id\": \"300f339f-da71-4f9f-80f6-c25a63baae75\",\n    \"filename\": \"invoice.pdf\"\n  },\n  \"picture_description_enabled\": false,\n  \"table_verification_enabled\": false,\n  \"model\": \"PIGALLE\",\n  \"status\": \"IN_QUEUE\",\n  \"created_at\": \"2025-06-12T14:57:00.000000Z\",\n  \"updated_at\": \"2025-06-12T14:57:00.000000Z\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Save the returned parsing ID."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["At this stage, the parsing is created but not finished yet."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-poll-the-parsing-until-it-is-complete","__idx":11},"children":["Step 3: Poll the parsing until it is complete"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api/schema/parsings/parsing_retrieve"},"children":["Retrieve parsing"]}," until the parsing reaches a final state."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X GET \"https://api.anesya.app/v0/parsing/d1b96998-f20e-4b6f-8fa5-78a70b1db9b2\" \\\n  -H \"X-API-Key: $ANESYA_API_KEY\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The parsing is complete when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," becomes one of:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FINISHED"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PARTIAL_FINISHED"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ERROR"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example completed parsing response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"d1b96998-f20e-4b6f-8fa5-78a70b1db9b2\",\n  \"status\": \"FINISHED\",\n  \"pages_total\": 3,\n  \"pages_success\": 3,\n  \"pages_failed\": 0,\n  \"markdown_content\": \"# Invoice\\n\\nInvoice number: INV-2025-0042\\n\\nTotal: 1280.50 EUR\",\n  \"ocr_content\": {\n    \"pages\": []\n  },\n  \"pictures\": [],\n  \"error\": null\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"what-to-inspect-in-the-parsing-response","__idx":12},"children":["What to inspect in the parsing response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["These fields are usually the most useful:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]},": current processing state"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["markdown_content"]},": extracted readable markdown"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ocr_content"]},": structured OCR payload"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_total"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_success"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_failed"]},": page-level outcome"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["error"]},": failure reason when the parsing fails"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PARTIAL_FINISHED"]},", the parsing can still be usable. Some pages failed, but successful pages are available."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For a full polling strategy, read ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/parsing"},"children":["Parsing"]}," and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/extract"},"children":["Extract"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-4-create-an-extract-from-the-parsing","__idx":13},"children":["Step 4: Create an extract from the parsing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once the parsing is usable, call ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api/schema/extracts/extract_create"},"children":["Create extract"]}," with the parsing ID and your schema ID."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X POST \"https://api.anesya.app/v0/extract\" \\\n  -H \"X-API-Key: $ANESYA_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d \"{\n    \\\"parsing\\\": \\\"d1b96998-f20e-4b6f-8fa5-78a70b1db9b2\\\",\n    \\\"schema\\\": \\\"$ANESYA_SCHEMA_ID\\\"\n  }\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"e90f337f-4d7c-46d1-a2a7-13cf5d9d7cfe\",\n  \"schema\": {\n    \"id\": \"YOUR_SCHEMA_ID\",\n    \"name\": \"Invoice schema\",\n    \"description\": \"Schema used for extracting data from invoices.\",\n    \"completion_mode\": \"CLASSIC\"\n  },\n  \"parsing\": {\n    \"id\": \"d1b96998-f20e-4b6f-8fa5-78a70b1db9b2\"\n  },\n  \"result\": null,\n  \"status\": \"IN_QUEUE\",\n  \"error\": null,\n  \"created_at\": \"2025-06-12T14:58:00.000000Z\",\n  \"updated_at\": \"2025-06-12T14:58:00.000000Z\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Save the returned extract ID."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-5-poll-the-extract-until-the-json-result-is-ready","__idx":14},"children":["Step 5: Poll the extract until the JSON result is ready"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api/schema/extracts/extract_retrieve"},"children":["Retrieve extract"]}," until the extract reaches a final state."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X GET \"https://api.anesya.app/v0/extract/e90f337f-4d7c-46d1-a2a7-13cf5d9d7cfe\" \\\n  -H \"X-API-Key: $ANESYA_API_KEY\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The extract is complete when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]}," becomes one of:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FINISHED"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ERROR"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When the status is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FINISHED"]},", the structured output is available in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example final response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"e90f337f-4d7c-46d1-a2a7-13cf5d9d7cfe\",\n  \"status\": \"FINISHED\",\n  \"result\": {\n    \"invoice_number\": \"INV-2025-0042\",\n    \"invoice_date\": \"2025-06-01\",\n    \"total_amount\": 1280.5\n  },\n  \"error\": null\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["At this point, you can send the JSON result to your application, automation platform, or LLM workflow."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"understanding-what-you-got-back","__idx":15},"children":["Understanding what you got back"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After this quickstart, you have created three useful resources:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Resource"},"children":["Resource"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What it gives you"},"children":["What it gives you"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Document"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A reusable uploaded source file"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Parsing"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OCR, markdown, page-level processing data, and status tracking"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Extract"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Structured JSON generated from one schema"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This separation is useful because it lets you:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["inspect the parsing before extraction"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["reuse the same document later"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["reuse the same parsing in downstream logic"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["debug failures more easily than a single opaque request"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"common-variations","__idx":16},"children":["Common variations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The flow above is the safest default, but you can simplify it depending on your use case."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"skip-document-upload","__idx":17},"children":["Skip document upload"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If your file is already available elsewhere, you can create a parsing directly from:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one document ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one public URL"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one uploaded file"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["a list of public URLs"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/parsing"},"children":["Parsing"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"skip-the-explicit-parsing-step","__idx":18},"children":["Skip the explicit parsing step"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you only need one final extract and do not need OCR or markdown separately, you can call ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api/schema/extracts/extract_create"},"children":["Create extract"]}," directly with:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one document ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one public URL"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one uploaded file"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/extract"},"children":["Extract"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":19},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"401-unauthorized","__idx":20},"children":["401 Unauthorized"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your API key is missing or invalid. Check the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-API-Key"]}," header and confirm that the key is active."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parsing-stays-in-in_queue-or-in_progress","__idx":21},"children":["Parsing stays in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IN_QUEUE"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IN_PROGRESS"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Keep polling. Parsing and extract jobs are asynchronous by design."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parsing-ends-in-partial_finished","__idx":22},"children":["Parsing ends in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PARTIAL_FINISHED"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Inspect ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_failed"]}," and decide whether partial output is acceptable for your workflow."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"extract-ends-in-error","__idx":23},"children":["Extract ends in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ERROR"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["error"]}," field, confirm that the parsing is already finished, and verify that the schema ID is valid."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-to-read-next","__idx":24},"children":["What to read next"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After this quickstart, the most useful next pages are:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/parsing"},"children":["Parsing"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/extract"},"children":["Extract"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/parsing"},"children":["Parsing and extract status handling"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/n8n/n8n-parsing"},"children":["n8n parsing workflow"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/agent-guide"},"children":["AI agent integration guide"]}]}]}]},"headings":[{"value":"API Quickstart","id":"api-quickstart","depth":1},{"value":"What we are going to build","id":"what-we-are-going-to-build","depth":2},{"value":"How the flow works","id":"how-the-flow-works","depth":2},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"1. Create an API key","id":"1-create-an-api-key","depth":3},{"value":"2. Create or locate a schema","id":"2-create-or-locate-a-schema","depth":3},{"value":"3. Export convenient shell variables","id":"3-export-convenient-shell-variables","depth":3},{"value":"macOS / Linux","id":"macos--linux","depth":4},{"value":"Windows PowerShell","id":"windows-powershell","depth":4},{"value":"Step 1: Upload a document","id":"step-1-upload-a-document","depth":2},{"value":"Step 2: Create a parsing","id":"step-2-create-a-parsing","depth":2},{"value":"Step 3: Poll the parsing until it is complete","id":"step-3-poll-the-parsing-until-it-is-complete","depth":2},{"value":"What to inspect in the parsing response","id":"what-to-inspect-in-the-parsing-response","depth":3},{"value":"Step 4: Create an extract from the parsing","id":"step-4-create-an-extract-from-the-parsing","depth":2},{"value":"Step 5: Poll the extract until the JSON result is ready","id":"step-5-poll-the-extract-until-the-json-result-is-ready","depth":2},{"value":"Understanding what you got back","id":"understanding-what-you-got-back","depth":2},{"value":"Common variations","id":"common-variations","depth":2},{"value":"Skip document upload","id":"skip-document-upload","depth":3},{"value":"Skip the explicit parsing step","id":"skip-the-explicit-parsing-step","depth":3},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"401 Unauthorized","id":"401-unauthorized","depth":3},{"value":"Parsing stays in IN_QUEUE or IN_PROGRESS","id":"parsing-stays-in-in_queue-or-in_progress","depth":3},{"value":"Parsing ends in PARTIAL_FINISHED","id":"parsing-ends-in-partial_finished","depth":3},{"value":"Extract ends in ERROR","id":"extract-ends-in-error","depth":3},{"value":"What to read next","id":"what-to-read-next","depth":2}],"frontmatter":{"seo":{"title":"API Quickstart"}},"lastModified":"2026-04-22T15:07:29.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/tutorials/quickstart","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}