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"

 }

}

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!