Synchronous document extraction
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)
falseExisting extraction document ID for incremental instruction mode. When provided, runs instruction extraction on the stored document instead of standard extraction.
nullCustom 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
nullIf true, instruction extraction results are mapped to the document type's JSON schema
falseHow to merge instruction extraction results with existing data: append, overwrite, or replace
appendPossible values: LLM model for extraction
gemini-3Example: gemini-3Possible values: If true, bypass cached extraction results and re-extract from scratch
falseNatural language query on the extraction 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)
nullTarget field names for instruction extraction mode. Limits extraction to these fields.
nullOK
Document extraction ID
Document processing status
nullPossible values: Document type
nullGroup ID linking child extractions (multi-extraction only)
nullTrue if this is a parent record for multi-extraction or ZIP
nullTrue if this is a ZIP file extraction
nullRequest ID
Status of the extraction request
successDocument subtype
nullBad 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

