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!

1 REPLY 1

Kaniz
Community Manager
Community Manager

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

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!