Retrieve the figures of the conversation logs
Conversations, questions, distinct people, credits and thumbs over the same filters as GET /v1/logs/conversations (without cursor and limit), with the conversations per channel. With no filter it covers every log still kept (90 days). Needs the right to edit assistants. Costs nothing.
GET/v1/logs/conversations/stats
Requires assistants:write.
The totals behind the list of conversations, over the same filters (channel, widget_id, api_key_id, assistant_id, rating, end_user, q, from, to) and without cursor or limit. With no filter it covers every conversation still kept, which is the last 90 days.
people counts distinct end_user values, and a conversation without one counts as one person. by_channel gives the conversations of each channel, with zero for a channel that has none.
This endpoint was GET /v1/logs/stats before 18 October 2026. The same permissions as the list apply. See Logs.
Authorizations
Authorizationbearerin headerrequiredQuery parameters
channelstringlength: ≥ 1 charsOnly the conversations from these channels, comma-separated: widget (visitors of a widget), api (an API key through REST, the CLI or the SDK), mcp (an API key through the MCP server). Default: all three.
widget_idstringpattern: ^wdg_[abcdefghjkmnpqrstuvwxyz23456789]{12}$Only this widget's visitors.
api_key_idstringlength: 1–64 charsOnly the conversations asked with this API key (the api_key.id of a conversation in these logs).
assistant_idstringpattern: ^ast_[abcdefghjkmnpqrstuvwxyz23456789]{12}$Only the conversations with this assistant.
ratingenum<string>one of: up, down, rated, unrateddown: at least one thumbs down (where the assistant failed). up: at least one thumbs up. rated: any thumb. unrated: none.
end_userstringlength: 1–200 charsOnly this person: a widget visitor's random id, or the end_user your product sends with its questions.
qstringlength: 1–200 charsWords in the title or in any question or answer, without regard to case.
fromstringOnly conversations with activity since this ISO 8601 date or timestamp.
tostringOnly conversations started before this ISO 8601 date or timestamp.
Response
Retrieve the figures of the conversation logs
dataobjectrequiredrequest_idstringrequiredPossible codes: invalid_request, unknown_field, invalid_parameter, invalid_cursor
errorobjectrequiredrequest_idstringrequiredPossible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked, invalid_access_key
errorobjectrequiredrequest_idstringrequiredPossible codes: insufficient_scope, feature_not_available, admin_required, permission_denied
errorobjectrequiredrequest_idstringrequiredPossible codes: rate_limited
errorobjectrequiredrequest_idstringrequiredPossible codes: internal_error
errorobjectrequiredrequest_idstringrequired