Can we generate Query - Amazon Q

Can we retrieve the SQL query that generates the results in Amazon Q? When I ask a question, it provides an answer - would it be possible to access the query used to generate those insights?

@adurai ,

If you have a direct query, then you can view the logs in the backend database to view the generated query.
If using SPICE, as it’s a managed solution which is part of QuickSight, access to SQL is not possible.

What is the requirement for viewing the SQL query which is generated ?

Kind regards,
Koushik

Hi @adurai,
It’s been awhile since we last heard from you, did you have any additional questions regarding your initial post?

If we do not hear back within the next 3 business days, I’ll close out this topic.

Thank you!