DocsConnectors
Compatibility

Connectors

Keep your parser. Send parsed output to PolDex for insurance-native adjudication.

POST /v1/connectors/parser-output/import
curl -X POST https://poldex-api.plain-water-cd0f.workers.dev/v1/connectors/parser-output/import \
  -H "x-api-key: pd_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"schema":"coi","source_parser":"unstructured","markdown":"CERTIFICATE OF LIABILITY INSURANCE..."}'

Reducto

POST /v1/connectors/reducto/import
curl -X POST https://poldex-api.plain-water-cd0f.workers.dev/v1/connectors/reducto/import \
  -H "x-api-key: pd_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"schema":"coi","parse_result":{"markdown":"CERTIFICATE OF LIABILITY INSURANCE..."}}'

See /reducto and /compatibility.

Extensions

GET /v1/extensions
curl https://poldex-api.plain-water-cd0f.workers.dev/v1/extensions
POST /v1/extensions/{extension_id}/estimate
curl -X POST https://poldex-api.plain-water-cd0f.workers.dev/v1/extensions/coi_compliance/estimate \
  -H "x-api-key: pd_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"schema":"coi","items":[{"source_type":"text","source_name":"coi.txt","text":"CERTIFICATE OF LIABILITY INSURANCE..."}]}'

Events

GET /v1/connector/events
curl "https://poldex-api.plain-water-cd0f.workers.dev/v1/connector/events?limit=25" \
  -H "x-api-key: pd_live_YOUR_KEY"