{"uid":"cap_zKrismV_VkzMCl5hlPuqt","slug":"prospectintel-claim-grounding-gate-de549473","name":"ProspectIntel Claim Grounding Gate","description":"Check answer. Splits an AI answer into claims and checks each against Wikipedia, Wikidata and (for current claims) news. Returns per-claim verdict, confidence, quote, source URL and sentence, a source-quoted suggested_correction for wrong claims, and an answer summary with problem_sentences. $1.00 USDC.","url":"https://claim-grounding.prospectintel.workers.dev/v1/check_answer?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"answer":{"type":"string","minLength":1,"description":"The answer text to check."},"sources":{"type":"array","items":{"type":"object","anyOf":[{"required":["url"]},{"required":["text"]}],"properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public https URL. Fetched with a 3.5 s timeout and a 512 KB cap; http, file and other schemes, private / loopback / link-local / metadata addresses, IP-literal hosts, custom ports and URLs with credentials are rejected (HTTP 400, not charged). With text, it is only the citation link."},"text":{"type":"string","maxLength":20000,"minLength":1,"description":"Source text to check the claim against (up to 20,000 characters). When given, no fetch is made."},"title":{"type":"string","maxLength":200,"description":"Optional title shown in citations."}},"description":"One source: {url} for a public https page we fetch, or {text, title?, url?} for text you already have.","additionalProperties":false},"maxItems":10,"description":"Optional. Up to 10 sources of your own, used as extra evidence next to the public sources and cited with provider and source_type \"caller\". The response lists what was used in sources_used."},"sources_only":{"type":"boolean","default":false,"description":"Optional. true = judge the claim only against your sources (no public-source lookups). Needs a non-empty sources array."}}},"responseSchema":{"type":"json","example":{"why":"Claim wholly entailed by cited evidence.","mode":"fast","claims":[{"span":{"end":30,"start":0},"text":"Paris is the capital of France","verdict":"supported","claim_id":"clm_3f9a1c2b4d5e6f70","citations":[{"url":"https://en.wikipedia.org/wiki/Paris","quote":"Paris is the capital and largest city of France.","title":"Paris","provider":"context","retrieved_at":"2026-10-10T12:00:00.000Z"}],"confidence":0.92,"support_score":0.92,"rationale_short":"Claim wholly entailed by cited evidence.","grounding_required":true}],"job_id":null,"source":"https://en.wikipedia.org/wiki/Paris","upsell":null,"receipt":{"verdicts":["supported"],"created_at":"2026-10-10T12:00:00.000Z","priced_usd":1,"claim_hashes":["sha256:UGFyaXMgaXMgdGhlIGNhcGl0YWwgb2Yg"],"evidence_urls":["https://en.wikipedia.org/wiki/Paris"]},"summary":{"counts":{"mixed":0,"outdated":0,"supported":2,"contradicted":0,"not_checkable":0,"insufficient_evidence":0},"claims_total":2,"claims_checked":2,"overall_verdict":"all_supported","problem_sentences":[],"unverified_sentences":[]},"version":"1.4.8","result_id":"res_1a2b3c4d5e6f7a8b","next_actions":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eMA_h2w-p2wfGUqzp1cv2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether an AI-generated answer is grounded in and supported by the provided source material or context","exampleAgentPrompt":"Before you show the user this answer, check if it's actually grounded in the source document I retrieved — run it through the grounding gate and tell me if the response is supported or if it's hallucinating.","exampleUseCases":[{"title":"RAG hallucination detection","prompt":"I have a retrieved document and an AI-generated answer based on it — can you verify whether the answer is actually supported by the document, or if the model is making things up?"},{"title":"Customer support quality assurance","prompt":"Before we send this support response to the customer, check if every claim in it is grounded in our knowledge base article — flag anything that isn't directly supported."},{"title":"Research summary verification","prompt":"I asked my AI assistant to summarize this research paper and I want to make sure the summary doesn't include any claims that aren't in the original text — can you run a grounding check on it?"}],"resultDescription":"Returns a verdict indicating whether the provided answer or claim is grounded in the supplied source material, likely including a pass/fail grounding result and potentially a confidence score or explanation of which parts are or are not supported.","failureModes":["Missing or malformed body payload returns an error","Empty or missing source context may produce unreliable verdicts","Very long inputs may hit token or size limits","Ambiguous or vague claims may return low-confidence verdicts","Network timeout on the Cloudflare Worker edge runtime"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.10/call) automated gate to catch hallucinations or ungrounded claims in AI-generated answers before delivery, especially in RAG pipelines or agentic workflows where answer accuracy is critical. Prefer this over full LLM re-evaluation when you want a lightweight, purpose-built grounding check rather than a general-purpose model review.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T12:52:37.922Z","isFirstParty":false,"canonicalSlug":"prospectintel-claim-grounding-gate-de549473"}