Serving a model behind an API
Step 2 of 7 in MLOps · Build · Easy
Wrap the model in an HTTP endpoint with input validation, so any app can call it.
Build it
FastAPI server
/predict endpoint with a pydantic schema for your house-price model.
Done when: curl works; bad input returns a clear 422.
Resources
- Wikipedia: Web API Article
- FastAPI docs Article
- Docker: get started Article
Earn this star
On the map, you log what you built. Finish the step and its star lights.
Open this step on the map