Affinda · Arazzo Workflow
Affinda Upload and Parse a Document
Version 1.0.0
Upload a document for parsing, poll until processing completes, then retrieve the parsed data.
View Spec
View on GitHub
AIArtificial IntelligenceDocument ProcessingIntelligent Document ProcessingIDPOCRResume ParsingInvoice ParsingReceipt ParsingDocument ExtractionDocument ClassificationDocument SplittingRecruitmentBankingInsuranceLogisticsHealthcareGovernmentArazzoWorkflows
Provider
Workflows
upload-and-parse-document
Upload a file, wait for parsing to finish, and return the parsed data.
Uploads a document via multipart/form-data into a workspace, creating it with wait=false so the API returns an identifier right away, then repeatedly checks the document until it is ready and reads back the parsed result.
1
uploadDocument
createDocument
Upload the file for asynchronous parsing. Setting wait to false returns an identifier immediately so the document can be polled for completion.
2
pollUntilReady
getDocument
Poll the document until its meta.ready flag becomes true, indicating that parsing has finished and the parsed data is available.
3
getParsedDocument
getDocument
Fetch the completed document to return the full set of parsed data and metadata to the caller.