This is mentioned in:
https://learn.microsoft.com/en-us/azure/databricks/mlflow/create-manage-serverless-model-endpoints
with api call example, while in:
https://learn.microsoft.com/en-us/answers/questions/892678/how-to-enable-databricks-model-serving-wi...
it is mentioned that the functionality will be available shortly.
It is also possible that my request is simply bad:
import requests
url = '/preview/model-serving-api/endpoints-v2/enable'
data_json = {
"registered_model_name": model_name
}
headers = {
"Authorization": f"Bearer {token}",
"Content-Type": "application/json",
}
u = host + '/api' + url
response = requests.request(method='POST', headers=headers, url=u, json=data_json)
Thanks in advance!