cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
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!

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @Thou Mather​ , Did you get a chance to go through this doc?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.