Stream extraction results via Server-Sent Events (SSE) for real-time content delivery.
Event Types:
content: Incremental content chunks (streaming mode)complete: Full content at once (batch mode)done: Final event with record_id and processing_timeerror: Error informationasync_queued: Large files queued for async processingProvide exactly one of: file, file_url, or file_base64.
API key as Bearer token: Authorization: Bearer YOUR_API_KEY
Output format(s): markdown, html, json, csv. Comma-separate for multiple.
"markdown"
File to upload (PDF, Word, Excel, PowerPoint, images)
URL to download file from
""
Base64-encoded file content
""
Enable real-time streaming. If false, returns complete content via SSE batch mode.
Custom extraction instructions
8000""
append: add to base prompt, replace: use only custom instructions
append, replace JSON extraction options
""
CSV extraction options
""
Comma-separated metadata: bounding_boxes, confidence_score
""
SSE stream of extraction events
Server-Sent Events stream with JSON payloads
"data: {\"type\": \"content\", \"data\": \"# Document Title\\n\"}\n\ndata: {\"type\": \"done\", \"record_id\": \"12345\", \"processing_time\": 2.5}\n\n"