API

Authentication

Create a key in the dashboard, then send it as a bearer token on every request:

Authorization: Bearer dh_live_...

Keep your keys secret. You can revoke a key at any time from the dashboard.

POST /api/v1/check

Submit text to verify. maxClaims bounds how many claims are extracted and checked.

curl -X POST https://YOUR_APP/api/v1/check \
  -H "Authorization: Bearer dh_live_..." \
  -H "content-type: application/json" \
  -d '{"text":"The Eiffel Tower is 2000 metres tall.","maxClaims":5}'

Response

A successful check returns:

{
  "check_id": "...",
  "report": {
    "rollup": {
      "trust_grade": "A",
      "hallucination_score": 0.12,
      "...": "..."
    },
    "claims": [ ... ],
    "verdicts": [ ... ]
  },
  "usage": {
    "used": 12,
    "limit": 100,
    "remaining": 88
  }
}

Quota

Quota is enforced per plan, per calendar month. When your monthly allowance is exhausted, the API responds with 402 Payment Required. Upgrade your plan or wait for the next billing month.

Verdict labels

Each claim receives one of the following verdict labels: