get_query
Retrieve the full definition of a saved query, including its SQL, data source, tags, owner, update time, and visualizations. Use query IDs from list_queries to inspect details before executing or adding widgets.
Instructions
Get the full definition of a saved query. Behavior: returns the query's SQL text, data_source_id, tags, owner, update time, and its visualizations (each with id, name, type). Usage: find the query_id with list_queries. The returned visualization ids can be placed on a dashboard with add_widget; to actually run the query use get_query_result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | ID of the saved query to inspect (from list_queries) |