Back to Docs
Getting Started

Quickstart in 4 steps

Go from zero to verified AI responses in minutes.

1

Create an account

Sign up at /signup. No credit card required.

2

Get your API key

Go to Settings → API Keys and create a new key. Copy it somewhere safe.

bash
export HALLUCINATION_GUARD_API_KEY="hg_sk_your_api_key_here"
3

Upload your knowledge base

Upload support docs, FAQs, and policies via the Library. We accept PDF, HTML, Markdown, and plain text.

4

Make your first verification call

Send an AI-generated draft to POST /api/check and get back a verified response.

curl
curl -X POST https://your-domain.com/api/check \
  -H "Authorization: Bearer $HALLUCINATION_GUARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "question": "What is your return policy?",
    "answer": "You can return items within 60 days for a full refund."
  }'