Extract document data (Async)
Additional system-level instructions injected into the LLM system prompt
nullDepth of document analysis: 'quick' (skip classification if type provided) or 'standard' (full analysis)
standardPossible values: Chart of accounts mapping. Flat array for standard: [{accountId, accountName}]. Structured dict for BusinessFinancialStatement: {BalanceSheet: [...], ProfitAndLossStatement: [...]}.
nullURL to download chart of accounts JSON. Only used when chartOfAccounts is not provided directly.
nullBase64-encoded file content
nullCustom document type names to use for V2 classification instead of the built-in list
nullDocument type. Mutually exclusive with documentTypes; one is required.
nullIf true, store extraction result in cache for future requests
falseRun AI document analysis to categorize content before extraction (V2 only)
trueEnable LLM-as-Judge evaluation: a second LLM reviews extraction quality post-hoc
falseInclude page-wise OCR content and AI-generated summaries per page
falseDeprecated — use enablePageContent instead
falseInclude raw OCR text sections with bounding boxes in the result (V2 only)
falseCustom natural language prompt to guide LLM extraction behavior beyond the extractionFormat schema.
nullPublic URL to file
nullSingle property address (backward-compatible alias for form8825Addresses with one entry)
nullProperty addresses for Form 8825 direct deep extraction. Skips property identification and runs a native-PDF extraction per address.
nullForm types (for tax documents)
nullKnowledge Search gallery IDs to tag the document into after extraction
nullInclude document layout structure (tables, paragraphs, headings) in result
falseIndustry name to load default chart of accounts from database for supported document types
nullLLM model for extraction
gemini-3Example: gemini-3Possible values: If true, bypass cached extraction results and re-extract from scratch
falseNatural language question to answer after extraction completes. Enables async Q&A on the result.
nullUse Gemini native PDF extraction (bypasses Azure OCR). Faster but may have lower accuracy for complex layouts.
falseSkip LLM extraction entirely; return only OCR/layout data without structured extraction
falseDocument subtype
nullTag classification instructions (only used when documentType is OtherWithMetadata)
nullOK
Status message
nullsuccessPossible values: Accepted — returned instead of 200 when the request uses documentTypes for a multi-extraction. The success code varies with the request, not just the endpoint.
Bad Request
Authentication required — the X-Api-Key header is missing or invalid.
Returned instead of 400 when the request body is missing or invalid. Known defect — see the API Reference.
Last updated

