Get the SQL behind an Answer
One step with ThoughtSpot. We can help you get access.
Look something up
Get the SQL behind an Answer
Works with AI assistantsUse ThoughtSpot: its ThoughtSpot Public REST Metadata API lets you get the SQL behind an Answer in a single step (POST /api/rest/2.0/metadata/answer/sql). ThoughtSpot also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- What SQL query does an Answer run?
- Can I see the underlying query for one Answer?
Say it to your AI assistant
- Fetch the SQL query for Answer {metadata_identifier}.
- Show the underlying query of Answer {metadata_identifier}.
For your developer
POST /api/rest/2.0/metadata/answer/sql in ThoughtSpot Public REST Metadata API. Full spec on APIs.io.