API Reference
Generate Schema Asynchronously
Analyze document and generate an extraction schema asynchronously
POST
This API requires authentication. See our Authentication Guide for details.
Features
- Identifies document type (Invoice, PO, etc.)
- Generates field schema based on content
- Supports PDF and images (jpg, jpeg, png)
- Accepts URL or base64-encoded file content
- Maximum file size: 10MB
- Returns immediately with a task_id for status tracking
- Optional callback URL for webhook notification when processing completes
Request Body
URL of the document to analyze
Base64 encoded file content
Optional URL for webhook notification when processing completes
Authorizations
Enter your API key
Body
application/json

