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.
Query Parameters
start*string
Start of time range (inclusive)
Format
date-timeend*string
End of time range (exclusive)
Format
date-timeHeader 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"
}
]
}