cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is Model Serving REST API available?

studentofml
New Contributor

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!

0 REPLIES 0