POST /api/get_docs_gaps
Docs gaps: answers that fell short because the docs do not cover the question, as expected counts (sums of the decision model's probabilities) per group, with the group's rate over its answers and a 95% interval, the window just before for the trend, and up to five example questions (gaps at even odds or better). Groups with under half an expected gap are left out; key null means no source was retrieved. previous_labelled counts the labelled answers in the window before, so a group with no earlier gaps can be told from a window that was never labelled; by page, each row's source names the source most of its answers retrieved the page from (null if unknown).
Personal access token scope: analytics:read.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
api_key_id?stringAgent id
filter_option?stringFilter option for analytics
"last_30_days""last_hour""last_24_hour""last_7_days""last_15_days""last_30_days"group_by?stringGroup by the effective topic, or by the source or page of the turn's first retrieved chunk
"page""topic""source""page"limit?integerMost groups returned (1-50)
25Success
curl -X POST 'http://localhost:7091/api/get_docs_gaps' \ -H 'Content-Type: application/json' \ -d '{}'POST /api/get_conversation_insights POST
Insights from the decision model's labels: per label and option the expected count and its rate with a 95% interval widened by the label's calibration error, each label's tier, the same per time bucket, label coverage and the language mix. answer_status rates are over requests (not over greetings). 'available' is the operator switch (DECISION_ANALYTICS_ENABLED with the model available); 'enabled' is that and the agent's own analytics switch. The sweep labels only the last 'backfill_days' (from 'labelling_from'), so coverage splits unlabelled answers into 'unlabelled_recent_turns' (still to be labelled) and 'unlabelled_older_turns' (never labelled without a backfill). For an agent, 'one_pick' lists the options of its topic question (empty when it asks none) and 'overlapping' its topics that can overlap; each one's totals are under 'tag:<id>'. Topics ('topic_effective') are reported for an agent only: each agent has its own list. 'series' is in 'bucket_unit': the filter's own unit while its buckets average 10 analyzed answers, else the next coarser one (minute to hour, hour to day, day to week). A week is named by its first day in the window and carries its last as 'bucket_end'. 'previous' holds answer_status, reaction and sentiment totals over the period of the same length just before the window. [Personal access token](/API/personal-access-tokens) scope: `analytics:read`.
Get feedback analytics data POST
Get feedback analytics data. [Personal access token](/API/personal-access-tokens) scope: `analytics:read`.