Ask
Ask a question about your data and check the answer, its results and the SQL that ran.
- Select the database at the top of the sidebar and open Ask.
- Enter a question about your data.
- Answer any clarifying questions. For example, revenue might mean order totals or the amount paid after refunds.
- Review the answer and its results. Show the SQL that ran opens the query.
Ask validates table and column references and rejects writes. Check the SQL and its interpretation before using an answer for a decision.

Schema context
The semantic layer describes tables,
status codes, and business terms. Ask uses it to interpret your question, and
the answer says where it came from, for example Answered from demoshop via
semantic layer. Without one, Ask works from column names and types. To build
or edit it, run rdst schema init and rdst schema annotate from the
CLI.
Use a monitored query
On the Database page, expand a query and select Send to Ask. The SQL is carried into Ask.
Generated queries are saved in the query library. To check a query's performance before adding it to your application, use Analyze a query on the Database page.
Ask needs AI access. The
CLI equivalent is rdst ask.