Getting scale to zero status of endpoint

musicman
New Contributor II

Hello,

I need to get the current scale to zero status of endpoint. How can I do that via python code? 

Alberto_Umana
Databricks Employee
Databricks Employee

Hello @musicman,

You can integrate the following REST API to check if an endpoint has 

scale_to_zero_enabled {false|enable}

https://docs.databricks.com/api/workspace/servingendpoints/get

musicman
New Contributor II

Hey, 

that worked. Thanks for you quick response.

Cheers