---
title: "Get hallucination detections"
method: GET
path: "/api/v1/data/hallucinations"
---

# Get hallucination detections

`GET /api/v1/data/hallucinations`

## Request

- Base URL: `https://moda.dev`
- URL: `https://moda.dev/api/v1/data/hallucinations`
- Auth: API key in header `x-api-key`

Returns hallucinations (agent replies the conversation shows were false, each naming its Problems incident in `incident_id`) and earlier verified claims, with evidence and aggregate counts.

## Query parameters

- `days_back` integer
- `limit` integer
- `offset` integer
- `conversation_id` string
- `conversation_ids` string
- `kind` 'contradicted' | 'verified'
- `group_by` 'message' | 'trace'
- `search` string
- `status` 'contradicted' | 'all'
- `rule` string
- `source` 'rule' | 'classifier' | 'gpu' | 'judge' | 'human'
- `sort` 'contradicted_count' | 'verified_count' | 'last_detected_at'
- `order` 'asc' | 'desc'
- `cohort` string

## Response `200`

Successful response.

- object: Hallucination summary, rule breakdown, detections (or `traces` with group_by=trace), pagination information, and `counting`, which says whether totals count messages or traces.

## Other responses

- `401`: The x-api-key header is missing, invalid, or revoked.
- `404`: The requested resource was not found.

---

[API](https://skmtc.dev/moda-dev/apis/moda-data-api.md) - [All operations](https://skmtc.dev/moda-dev/apis/moda-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda-dev/apis/moda-data-api/revisions/19a11ad88cf6?raw)
