List training gaps
list_training_gapsFind questions the AI could not answer well, with evidence: visitor questions that got an AI fallback reply (no trained answer, knowledge or model answer was available), conversations escalated to a human, and conversations rated 1-2 CSAT. Returns one item per question with its signals, plus questions that repeat across conversations, plus answer_feedback: how many AI answers visitors marked helpful / not helpful in the widget over the same window. Use it to decide what to teach next: check search_knowledge for an existing answer, then draft one for the user's approval before add_trained_answer. Greetings and very short messages are excluded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look back this many days, 1-180. Default 30. | |
| limit | No | Maximum items, 1-100. Default 25. | |
| cursor | No | Optional. The `next_cursor` from a previous call made with the same other arguments; returns the next page. Omit for the first page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| has_more | No | True when more records match than were returned. | |
| truncated | Yes | True when the window held more evidence than was analyzed (most recent kept). | |
| next_cursor | No | Pass as `cursor` (with the same other arguments) to get the next page; null when there are no more. | |
| window_days | Yes | ||
| signal_counts | Yes | ||
| answer_feedback | No | Widget thumbs up/down on individual AI answers in the same window. helpful_rate is 0-1, or null when nothing was rated. | |
| repeated_questions | Yes |