get_request_detail
Retrieve full query text and execution metrics for a completed query by its distributed statement ID, drawing from queryinsights.exec_requests_history.
Instructions
Look up a completed query from queryinsights.exec_requests_history.
Uses distributed_statement_id to retrieve full query text and execution metrics after the query completes.
Args: workspace: Workspace name or GUID. item: Warehouse or SQL Analytics Endpoint name or GUID. dist_statement_id: The GUID identifying the distributed statement to look up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| workspace | Yes | ||
| dist_statement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |