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"

 }

}

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group