Golden assets are test cases
You don’t keep golden assets in a separate library. A golden asset is a test case with Use as golden asset switched on, so one example does two jobs:- It teaches the agent: the agent retrieves it as a worked example for similar questions.
- It checks the agent: every test run asks the question and grades the answer against the same SQL.

Add a golden asset
- Open your workspace and go to Develop → Tests.
- Click Add test case.
- Enter the Question the way a user would phrase it (for example, “Show sales by owner segmented by product”).
- Enter the SQL query that answers it correctly. It must run before you can save.
- Optionally, add a Chart when the right answer is a particular visualization.
- Switch on Use as golden asset.
- Click Add test case. It’s saved to the draft. Save a workspace version, then promote it to production (or, with environments, deploy it to your users’ environment) to make the golden asset available to them.

- From a good answer. In Chat History or the Playground, open a trace and click Save as test case. The question, the SQL and any chart are filled in for you; switch on Use as golden asset.
- With the Builder agent. Ask the Builder agent to “add a golden asset for monthly spend by category”, or let guided setup write a first set.
What makes a good golden asset
Write the question the way a real user would ask it, not as a technical specification: the agent matches on meaning, not keywords. Write the SQL your team would actually run, with every filter, join and calculation that makes it correct for your data. Prioritize:- Questions with non-obvious joins or filters specific to your schema.
- KPI calculations with a precise definition (for example, “revenue” as a specific formula, not just a column name).
- Questions whose correct answer depends on business rules the agent can’t infer from column names.
- Questions the agent previously got wrong, found in Chat History or a failing test.
Check that it’s used
Open the trace of an answer in the Playground or Chat History. Its retrieval step shows which golden assets the agent found for the question. If a common question retrieves none, add a golden asset phrased the way your users ask it. See Agent Observability.Next steps
Tests
Run your test cases against every change, and require them to pass before a version ships.
System Prompts
Encode business rules and guardrails that apply to every question.
Skills
Turn repeated procedures into reusable know-how the agent loads on demand.
Knowledge Base
Store the reference documents your golden SQL is based on.