My App
API ReferenceAnalytics

Get Hallucinations Label Distribution

See which hallucination types occur most often.

Get a breakdown of hallucination labels ranked by frequency. Use this to identify your most common issues and prioritize fixes.

GET
/v1/analytics/hallucinations-label-distribution

Query Parameters

start*string

Start of time range (inclusive)

Formatdate-time
end*string

End of time range (exclusive)

Formatdate-time

Header Parameters

x-workspace-id?|

Workspace UUID to operate within. Required for session auth and user-scoped API keys. Optional for workspace-scoped API keys (uses key's workspace if omitted).

Response Body

application/json

application/json

curl -X GET "https://loading/v1/analytics/hallucinations-label-distribution?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"
[
  {
    "label": "string",
    "count": 0
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}