{"uid":"cap_3nB9a35v7ahRxnCGyianD","slug":"veritylayer-hallucination-verification-engine-faadbb39","name":"VerityLayer Hallucination Verification Engine","description":"VerityLayer verifies whether a factual claim is true — fact-check, verify a claim, is this true. Independent, fail-closed verification for AI agents: returns a verdict (supported/unsupported/uncertain), a calibrated 0-1 confidence, reasoning, and evidence; abstains rather than guess. Every verdict includes an Ed25519-signed receipt — portable cryptographic proof of what was verified, free re-verification at /receipt/verify. Tier: grounded — live web citations (Sonnet, default).","url":"https://api.veritylayer.dev/verify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"claim":{"type":"string"},"context":{"type":"string"}}},"responseSchema":{"type":"json","example":{"verdict":"supported","evidence":["Encyclopaedia Britannica — Eiffel Tower, Paris, France."],"reasoning":"Multiple authoritative sources place the Eiffel Tower on the Champ de Mars in Paris, France.","confidence":0.97}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HFBQHa99wesXMy4xL7q-e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a claim or AI-generated statement against authoritative sources and returns a verdict, evidence, reasoning, and confidence score to catch hallucinations before they reach users.","exampleAgentPrompt":"Before we send this response to the user, run it through VerityLayer to check if the claim 'The Eiffel Tower was built in 1889 on the Champ de Mars in Paris' is actually supported — I need the verdict, evidence sources, and confidence score.","exampleUseCases":[{"title":"Hallucination guard for RAG chatbot","prompt":"My RAG assistant just told a customer that our refund policy allows 60-day returns — fact-check that claim against our documentation and tell me whether it's supported, what evidence backs it up, and how confident you are."},{"title":"Citation verification for AI research tool","prompt":"This AI-generated literature review cites 'Smith et al. 2019, Nature — CRISPR off-target effects reduced by 94%' — can you verify whether that citation is real and accurately described before I include it in my report?"},{"title":"Legal brief hallucination check","prompt":"Before I file this, check whether the case law cited here — 'Mata v. Avianca, 2023, ruling that AI-generated citations must be disclosed' — is a real case with accurate details, and give me your confidence level."}],"resultDescription":"A JSON object containing: 'verdict' (e.g. 'supported', 'unsupported', 'uncertain'), 'evidence' (array of authoritative source citations supporting or refuting the claim), 'reasoning' (a human-readable explanation of how the verdict was reached), and 'confidence' (a 0–1 numeric score indicating certainty of the verdict).","failureModes":["Claim too vague or ambiguous for authoritative lookup — may return low-confidence result","No authoritative sources found for niche or very recent claims — may return 'uncertain' verdict","Overly long or compound claims may reduce accuracy — works best with atomic, single-fact statements","Network or upstream source availability issues may cause timeouts or errors","Rate limits or payment failures may result in 4xx/402 responses"],"whenToPreferThis":"Choose VerityLayer when you need a fail-closed, independent fact-checking layer specifically designed to catch LLM hallucinations — especially fabricated citations, fake statistics, or unsupported claims — before they reach end users. It is particularly well-suited for legal, medical, research, or customer-facing AI applications where a single hallucination can cause serious harm. Prefer this over general web search or RAG retrieval when you need a structured verdict with evidence and confidence rather than raw search results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:38:41.264Z","isFirstParty":false}