One API call. Three verification engines. Every AI output confirmed before it costs you.
AI hallucinates citations, fabricates facts, and botches math. ConfirmAI catches all three.
Extracts legal citations (CFR, USC, case law, state statutes) and flags each for verification against authoritative sources.
Sends claims to Claude, GPT-4o, and Gemini. Scores agreement. Two models disagreeing = low confidence = human review needed.
Extracts dollar amounts and percentages, then re-computes from known inputs. Mortgage payments, statutory damages, escrow — penny-accurate.
Base URL: https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai
# No auth required
curl -X POST https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/keys \
-H "Content-Type: application/json" \
-d '{"email": "you@company.com"}'Returns your vai_ key. 100 free verifications/month.
curl -X POST https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/verify \
-H "X-API-Key: vai_your_key" \
-H "Content-Type: application/json" \
-d '{"text": "AI output to verify"}'Runs all 3 engines. Returns citations, calculations, and consensus check.
curl -X POST https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/verify/citations \
-H "X-API-Key: vai_your_key" \
-H "Content-Type: application/json" \
-d '{"text": "Under 12 CFR 1024.35..."}'Extracts CFR, USC, case law, LA statutes. Returns lookup instructions.
curl -X POST https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/verify/consensus \
-H "X-API-Key: vai_your_key" \
-H "Content-Type: application/json" \
-d '{"claim": "Your claim here"}'Queries Claude + GPT-4o. Returns verdict, confidence score (HIGH/MEDIUM/LOW).
curl -X POST https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/verify/calculations \
-H "X-API-Key: vai_your_key" \
-H "Content-Type: application/json" \
-d '{
"text": "Monthly payment is $760.03",
"known_inputs": {
"principal": 150000,
"rate": 0.045,
"term_months": 360
}
}'Re-computes mortgage payments, interest, escrow, statutory damages.
curl https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/usage \ -H "X-API-Key: vai_your_key"
Returns tier, used count, limit, and remaining verifications.
import httpx # Get a free API key resp = httpx.post("https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/keys", json={"email": "you@company.com"}) key = resp.json()["api_key"] # Verify AI output result = httpx.post("https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/verify", headers={"X-API-Key": key}, json={"text": ai_generated_text}) report = result.json() print(report["consensus_check"]["overall_accuracy"]) # HIGH / MEDIUM / LOW
// Get a free API key const keyResp = await fetch('https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/keys', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ email: 'you@company.com' }) }); const { api_key } = await keyResp.json(); // Verify AI output const result = await fetch('https://fjczrfsrupmqemyxxzhc.supabase.co/functions/v1/verifyai/verify', { method: 'POST', headers: { 'X-API-Key': api_key, 'Content-Type': 'application/json' }, body: JSON.stringify({ text: aiOutput }) }); const report = await result.json(); console.log(report.consensus_check.overall_accuracy); // HIGH / MEDIUM / LOW
Start free. Scale when ready.
Get your API key in 10 seconds.