Accessing observability
You can reach the observability trace for any agent response in two ways. From an active chat session — After the agent responds, click View Observability at the bottom of the response. This opens the full trace for that specific exchange.

What the trace shows
The observability panel breaks each agent response down into its constituent steps.
- SQL Generation — The exact query written, including all joins, filters, and aggregations. If the answer is numerically wrong, this is the first place to look.
- SQL Execution — The raw data returned from your database before the agent interpreted it.
- Chart Generation — The chart type, axis mappings, and formatting settings selected. If the visualization rendered incorrectly, the config will tell you what the agent chose and why.
Using traces to improve your agent
Observability is most useful as a diagnostic tool when the agent produces an unexpected result. A few common patterns: Wrong SQL, right-sounding answer — The agent generated plausible SQL that doesn’t correctly implement your business logic. The fix is usually a more precise System Prompt rule or a Golden Query demonstrating the correct approach. No RAG sources retrieved for a common question — The agent answered from scratch instead of referencing a validated example. Check whether you have a Golden Query covering this pattern, and whether the question phrasing is semantically close enough to trigger retrieval. Correct SQL, wrong chart — The data was right but the visualization was misleading. Add a Golden Chart for this question type to teach the agent the correct format. Slow execution with redundant steps — The trace shows multiple SQL attempts before arriving at a correct result, which typically means the data model annotations or system prompt need more specificity.Observability traces are available for all agent responses, including those from deployed end users. Access these through Chat History with Show Details toggled on.