cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks query history api with filter_by warehouse_id

Chinu
New Contributor III

Hi,

Im trying to pull query history filtered by warehouse id but my url is not working. Do you have an example on how the url will looks like?

I tried this --> https://**.cloud.databricks.com/api/2.0/sql/history/queries?filter_by={"warehouse_id":"193b15a590ed2...

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions

Chinu
New Contributor III

Oh, looks like I need to add this raw data.

{

 "filter_by": {

  "warehouse_ids": "193b15a590ed23d2"

 }

}

View solution in original post

1 REPLY 1

Chinu
New Contributor III

Oh, looks like I need to add this raw data.

{

 "filter_by": {

  "warehouse_ids": "193b15a590ed23d2"

 }

}