Getting Started
Quickstart
PolDex turns insurance documents or customer-provided parsed output into structured JSON with evidence, truth states, conflicts, exports, and agent-ready delivery surfaces.
Get an API key
Initialize access at /initialize. The key is shown once. Store it securely, then load credits at /credits.
Submit extraction
POST /v1/extract
curl -X POST https://poldex-api.plain-water-cd0f.workers.dev/v1/extract \
-H "x-api-key: pd_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: ik_unique_per_request" \
-d '{
"document_url": "https://your.host/policy.pdf",
"schema": "commercial_gl",
"webhook_url": "https://your.app/webhook"
}'Poll result
GET /v1/jobs/{job_id}
curl https://poldex-api.plain-water-cd0f.workers.dev/v1/jobs/job_01hx4mz9p3kqa8 \ -H "x-api-key: pd_live_YOUR_KEY"
Completed jobs return canonical JSON plus signed export links when available. Webhooks are preferred for production delivery.
No-code option
Use /processor to estimate, process, and download JSON, CSV, and XLSX without writing code.