API ReferenceAnalytics
Get Hallucinations Summary Stats
Get summary statistics for hallucination analysis.
See your hallucination rate, total messages, token usage, and costs at a glance. Use this for dashboards or to track quality over time.
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-summary-stats?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"{
"total_messages": 0,
"total_evaluated_messages": 0,
"messages_with_hallucinations": 0,
"messages_without_hallucinations": 0,
"total_hallucinations": 0,
"hallucination_rate": 0,
"input_tokens": 0,
"output_tokens": 0,
"total_cost_usd": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}