Hallucination Guard API
Available nowCitation cross-walking for legal, financial, and insurance AI output. Inspect generated text for case citations, statute references, policy provisions, and reporter cites; any reference that doesn't trace back to user-provided source material gets flagged inline with [verify] markers and a structured risk score. Prism's modules are deliberately purpose-built — each handles its own scoped data. The Hallucination Guard API works the same way: stateless verification, no cross-tenant data, no learning from your inputs. Your sources stay yours.
Get API keyBuilt for
- ·Legal-tech startups shipping AI-assisted drafting tools
- ·Insurance-tech building claims advocacy / policy review
- ·Financial advisor software writing under FINRA / SEC rules
- ·Healthcare-AI products surfacing medical references
- ·Any company shipping AI-generated text where a fabricated citation creates real liability
Use cases
- ·Verify case citations in lawyer drafting tools before they reach a partner's review
- ·Flag invented statute references in compliance documents
- ·Check policy citations in insurance advocacy letters against the actual policy PDF
- ·Validate claims in financial advisor communications under FINRA rules
- ·Catch hallucinated medical references in healthcare AI
- ·Guard against fabricated source attributions in research-assistant tools
Sample request & response
POST https://prism.zi-find.com/api/v1/guard/verify-references
{
"text": "Per Smith v. Jones, 142 F.3d 891 (9th Cir. 2018), the doctrine applies...",
"sources": [
"Memorandum of intake notes...",
"Exhibit B - policy excerpt..."
],
"domain": "legal"
}
→ 200 OK
{
"flagged_text": "Per Smith v. Jones, 142 F.3d 891 (9th Cir. 2018) [verify], the doctrine applies...",
"flags": [
{
"type": "case_citation",
"raw": "Smith v. Jones, 142 F.3d 891 (9th Cir. 2018)",
"offset_start": 4,
"offset_end": 47,
"in_sources": false
}
],
"risk_score": 0.72,
"domain": "legal"
}How it works behind the scenes
Domain-tuned regex sweeps cover case names with 'v.', U.S.C./C.F.R. citations, reporter cites, and Section/§ references, then cross-walk every match against user-supplied source material. Cross-walking is whitespace- and case-insensitive so paraphrased citations still resolve. Different domains (legal vs insurance vs financial) get different patterns. Tuned in production across nine professional-vertical Prism modules.
Why developers choose Prism over rolling their own
- ✓Pre-tuned across real production traffic. Patterns aren't theoretical.
- ✓Idempotent and offset-safe. Re-running on already-flagged text is a no-op, never corrupts mid-text.
- ✓Domain-specific configurations out of the box (legal, insurance, financial).