get_query
Fetch one saved analytics query by id with its full definition as an editable spec (the same spec format run_insight_query / run_funnel_query / run_retention_query take, tagged with queryType) and the dashboards it appears on. Read a query with this before changing it: pass the edited spec (without queryType) to update__query, or use update_query to only rename it. When the query uses options agents cannot author, spec is omitted and notEditable says why. Load the manage-dashboards skill (load_skill("manage-dashboards")) first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queryId | Yes | The id of the saved query (from list_queries or get_dashboard). | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| environment | Yes | The environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token. |