Build agents
Logs and user feedback
Review execution records and user ratings to troubleshoot and improve answers.
Audit logs record how each question was executed, and user feedback records how users rated answers. Together they help you find why an agent answered incorrectly and improve it.
These two tabs are available only to project owners and project administrators. A regular member who created an agent still cannot see other users' conversations, execution records, or feedback.
Audit logs
Entry: open an agent → “Audit logs”. The list includes the agent's questions from every entry (web conversations, Feishu, Slack, API, and so on), refreshes every 15 seconds, and is read-only; records cannot be rerun or exported.
Filter by question keyword, user, execution status, and date. Open a record to view “Execution details”: each message, each tool call (such as retrieval, running SQL, creating charts, running Python), error information, and the user's rating. You can “Search this turn's execution” in the details.
Execution details show only saved records. A recorded reply does not mean the execution fully succeeded.
Troubleshoot with logs
| Problem | What to check in the logs | Improvement |
|---|---|---|
| Wrong numbers | The executed SQL and the tables and fields used | Add table and field notes or business documents |
| No answer | Whether relevant tables were found during retrieval | Make sure the table's data source is added to the agent and not restricted by a policy |
| Slow answers | Which step took longest | Determine whether the data source query or the model is slow; for slow data sources see SQL performance analysis |
User feedback
Entry: open an agent → “User feedback”. When users like or dislike an answer, they can add a comment, collected here. Without a comment, a summary of the rated answer is shown.
- Filter by status (pending, resolved) and type (like, dislike).
- Click “Mark resolved” to archive; archived items can be “Reopened”.
- Click a row to go to the conversation and see the context at the time.
Turn feedback into improvements
| Feedback | Usually missing | Where to add |
|---|---|---|
| “This number is wrong”, “wrong definition” | Field explanations or business definitions | Table and field notes, business documents |
| “Too wordy”, “too brief” | Answer style requirements | Analysis preferences |
| “Didn't follow our method” | Analysis method | Analysis skills |
Common issues
| Symptom | Cause | Action |
|---|---|---|
| Logs are empty | The agent has not been used, or the date range is too narrow | Widen the filters |
| The question column shows “Question text not recorded” | The original question was not saved | Read the messages in the execution details |
| Clicking feedback does not open the conversation | The conversation was deleted or you lack access | Judge from the feedback content and contact the user if needed |