v5
latestOpenAPI 3.1.02026-08-081,0211,3082.1 MBCopilot
Analyze Query V2
Analyze a SQL query and provide optimization recommendations
Args: query_id: The query ID to analyze model_type: The model to use for analysis (CLAUDE or DEEPSEEK) instance_id: The Snowflake instance ID
post/copilot/quickchat/query-analysis/v2/{query_id}
Path parameters
query_idstring required
Query parameters
model_type'claude' | 'deepseek'
instance_idstring
Headers
x-tenantstring
Response
Successful Response
object required