Knowledge Drop

Is it possible to use the API to get the sql query for a look or explore

  • 7 July 2021
  • 1 reply
  • 78 views

Userlevel 1

Last tested: May 21, 2019
 

Yes! You can get the query ID and then use run_query with result_format=sql https://docs.looker.com/reference/api-and-integration/api-reference/v3.1/query#run_query

 

This content is subject to limited support.                

 

 


1 reply

@Peggy_Beard, how do we get the query_id of an explore or a quick start?

Reply