API Reference
Extract API
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" \
-d '{"document_url":"https://your.host/policy.pdf","schema":"commercial_gl"}'Accepted response
Extraction returns 202 queued with a job ID, credit hold, and poll URL.
Schema
Use /schema or GET /v1/schemas to inspect supported schema IDs.