Your QEAR dashboard — keys, usage, and quick integration snippets.
Create a separate key per app or environment. All keys draw on the same monthly quota for your plan; revoke any one without affecting the others.
Add QEAR to your AI pipeline with five lines of code. Your API key is already inserted in the examples below.
# Verify that an AI's answer is trustworthy curl https://api.qear.ai/v1/verify \ -H "Authorization: Bearer qe_..._YOUR_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "prompt": "What year did Napoleon die?", "answer": "1821" }'
import requests QEAR_KEY = "qe_..._YOUR_KEY_HERE" def verify(question, ai_answer): r = requests.post( "https://api.qear.ai/v1/verify", headers={"Authorization": f"Bearer {QEAR_KEY}"}, json={"prompt": question, "answer": ai_answer}, ).json() return r["uncertainty_class"], r["diagnosis"] # Use in your existing AI pipeline: ai_answer = call_your_llm(user_question) cls, diag = verify(user_question, ai_answer) if cls in ("factual_disagreement", "knowledge_gap"): flag_for_review(diag)
const QEAR_KEY = "qe_..._YOUR_KEY_HERE"; async function verify(question, aiAnswer) { const r = await fetch("https://api.qear.ai/v1/verify", { method: "POST", headers: { "Authorization": `Bearer ${QEAR_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ prompt: question, answer: aiAnswer }), }); return await r.json(); } // Use in your existing AI pipeline: const aiAnswer = await callYourLLM(userQuestion); const { uncertainty_class, diagnosis } = await verify(userQuestion, aiAnswer);