caelum0x 695a365ae4 feat: PaperTrail — enterprise evidence-verification platform
Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a
deterministic verification core: clinical-trial claims checked against
ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI
recomputed in code, oracle-tested), code-enforced exact-span grounding, and
multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing
at scale (unpdf + Docling), agentic workflows, Claude Science connector,
compliance/audit, billing, public API, and more.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 07:21:22 +03:00

27 lines
1.5 KiB
TypeScript

export function ApiDocsIntro() {
return (
<>
<h1 className="text-2xl font-semibold text-ink/90">API</h1>
<p className="mt-3 text-sm leading-relaxed text-ink/70">
PaperTrail exposes a small JSON HTTP API. All responses are JSON. Errors return a{" "}
<code className="rounded bg-ink/5 px-1 py-0.5 font-mono text-xs">{"{ \"error\": string }"}</code>{" "}
body with an appropriate HTTP status. Replace{" "}
<code className="rounded bg-ink/5 px-1 py-0.5 font-mono text-xs">your-deployment.vercel.app</code>{" "}
with your host (or use a relative path from the same origin).
</p>
<div className="mt-6 rounded-lg border border-yellow-200 bg-yellow-50 p-4 text-sm leading-relaxed text-yellow-900">
<strong>Hackathon demo.</strong> This is a demo build, not a hardened production
service. There is no auth, response shapes may change, and the{" "}
<code className="rounded bg-yellow-100 px-1 py-0.5 font-mono text-xs">POST /api/verify*</code>{" "}
endpoints are rate-limited per IP. When the server runs with{" "}
<code className="rounded bg-yellow-100 px-1 py-0.5 font-mono text-xs">DEMO_MODE=true</code>,
retrieval reads only from the pre-cached <code className="font-mono text-xs">sources</code>{" "}
table and never live-fetches PubMed or ClinicalTrials.gov — so claims outside the
cached demo set return{" "}
<code className="rounded bg-yellow-100 px-1 py-0.5 font-mono text-xs">no_support_found</code>.
</div>
</>
);
}