{"uid":"cap_kamKyIp53dj_7RywByKWh","slug":"document-q-a-with-verified-supporting-quote-d74aeefa","name":"Document Q&A with Verified Supporting Quote","description":"Answer a question from a document, with a verified supporting quote — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/ai/answer?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"text":{"type":"string","description":"required, up to 24,000 chars"},"question":{"type":"string","description":"required, up to 500 chars"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"text-qa","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.006,"receipt_id":"g402-<16hex>"},"sources":[{"ok":true,"name":"<source>"}],"limitations":"<text>","generated_at":"<iso time>","evidence_hash":"sha256:<64hex>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l8d6cSEaYItcp9FEhrZqO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers a question based on a provided document and returns a verified supporting quote from that document as evidence","exampleAgentPrompt":"Here's a 10-page terms-of-service document — can you find out whether users are allowed to use the service for commercial purposes, and give me the exact quote from the document that supports the answer?","exampleUseCases":[{"title":"Legal clause verification from contract","prompt":"I've pasted this 8,000-word lease agreement below — can you tell me what the early termination penalty is, and give me the exact sentence from the contract that says so?"},{"title":"Research fact extraction with citation","prompt":"Here's the full text of this scientific paper on mRNA vaccines. What dose was used in the phase-3 trial, and quote me the specific part of the paper that states it?"},{"title":"Policy compliance check from employee handbook","prompt":"I've included our company's remote work policy document — does it say employees are required to be online during core hours, and what does the policy actually say word-for-word about that?"}],"resultDescription":"Returns an answer to the submitted question derived from the provided document text, along with a verified verbatim supporting quote pulled directly from the document to substantiate the answer.","failureModes":["Question or text exceeds character limits (text >24,000 chars or question >500 chars)","No relevant passage found in the document to answer the question","Payment failure or insufficient USDC balance (x402 protocol)","Ambiguous question that cannot be resolved against the document","Document language or format not supported by the model"],"whenToPreferThis":"Choose this endpoint when you need not just an answer but a verifiable, grounded citation from a specific document — particularly in legal, compliance, research, or audit contexts where evidence is required. Prefer this over generic LLM Q&A when you need provenance and cannot risk hallucinated answers, and when your source text fits within 24,000 characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:47:07.354Z","isFirstParty":false,"canonicalSlug":"document-q-a-with-verified-supporting-quote-d74aeefa"}