curl -X POST https://api.hypermodel.ai/api/v1/pdf/extract \
-H "Content-Type: application/json" \
-H "x-api-key: your-api-key" \
-d '{
"pdfUrl": "https://example.com/financial-report.pdf",
"schema": {
"type": "object",
"properties": {
"company_name": { "type": "string" },
"revenue": { "type": "string" },
"employees": { "type": "number" },
"founded_year": { "type": "number" }
}
},
"prompt": "Extract company financial information"
}'