Databricks query history api with filter_by warehouse_id

Chinu
Contributor

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,

Chinu
Contributor

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

{

 "filter_by": {

  "warehouse_ids": "193b15a590ed23d2"

 }

}

View solution in original post