Get Observability Logs Histogram
Level-stacked log histogram for one agent or KB.
Same scope rules as :func:get_observability_logs (404 on
cross-scope id, 503 when the table isn’t deployed). The histogram
surfaces all four levels regardless of the line viewer’s current
level filter — the user is meant to see the full level distribution
so they can pick a filter floor.
GET
/agentic/observability/logs/histogramAuthorization
AuthorizationBearer token · headerrequiredQuery parameters
agent_idstringrequiredAgent or knowledge base id
fromstring | anyTime range start (ISO 8601)
tostring | anyTime range end (ISO 8601)
bucketsintegermin 1 · max 200 · default: 30
Responses
200
Successful Response
bucketsObservabilityLogHistogramBucket[]requiredShow propertiesHide properties
Array of
ObservabilityLogHistogramBucketbucket_startstring<date-time>requirederrorintegerdefault: 0
warnintegerdefault: 0
infointegerdefault: 0
debugintegerdefault: 0
totalintegerrequiredtotalintegerrequired422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject