- Shipped
- November 13, 2026 at 9:22 PM UTC
- Author
- Kamo
- Commit
- 56ef9b5
POST /api/ai/lead-fill/extract {text, marketType} -> {fields, agent}, for the new-lead page. Gated exactly as the Doc Links SI: SI app (AI_SUPPORT or AI_WORKFORCE), not paused, an assigned eligible SI; human sessions only; CREATE_LEADS. Refusals: SI_OFF 404, SI_PAUSED / NO_SI_AGENT 409, NO_PROVIDER 424, SI_UNAVAILABLE 503, TOO_LONG / INVALID 400 (8000 characters at most). The answer is read strictly: only the contract's keys, each checked and normalized (phone digits, two-letter states, 5-digit ZIP, money and rates as numbers, a credit score only when a number is given); anything else is dropped, never guessed. PHI-only routing for a PHI organization; its own usage kind, LEAD_INTAKE. The pasted text is never logged.
