Split a Document and Re-parse
A 3-step recipe with Affinda. We can help you get access.
Recipe · 3 steps
Split a Document and Re-parse
with Affinda
Upload a document, wait for parsing, then split its pages into new documents.
- Upload the file with wait=false so an identifier is returned for polling.
- Poll the document until meta.ready becomes true.
- Split the document into the supplied page groups, which triggers re-parsing of each resulting child document.
What you'll need to have ready
- workspace: The workspace identifier to upload the document into.
- file: The multi-page document file contents (binary) to upload.
- splits: The split definitions describing how pages should be grouped into documents.
For your developer
Arazzo workflow affinda:split-document-and-reparse, 3 operations: createDocument → getDocument → editDocumentPages. Specs on APIs.io.