curl -X POST https://api.example.com/api/extractor/v1/extract \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/document.pdf",
"schema": {
"fields": [
{"name": "invoice_number", "type": "string"},
{"name": "total_amount", "type": "number"}
]
}
}'