v2
latestOpenAPI 3.1.02026-08-08556285514.3 KBPDF Form Processing
Detect Mappings
Use AI to intelligently map document data to PDF form fields.
Supports two modes:
- Legacy: Single document via document_data field
- New: Multiple documents via documents array with schema descriptions
The new mode searches across all documents and returns alternatives.
Args: request: Contains base64-encoded PDF and document data
Returns: DetectMappingsResponse with suggested field mappings and alternatives
post/api/pdf/detect-mappings
Request body
Response
Successful Response