An API endpoint exposes a model through a network-accessible interface: it receives requests and returns responses. In production ML systems, endpoints serve real-time predictions and fit within broader deployment workflows. section 2.1.5 section 6.1.3
Common model-serving endpoint roles include:
- The income classifier’s /predict endpoint accepts a request and returns a prediction. section 6.1.3
- BentoML also exposes /metrics for Prometheus scraping; MLflow model servers provide /health and /invocations endpoints. section 6.1.3 section 10.7
Figure 6.10 Swagger document for the deployed service with the /predict endpoint
The Swagger document shows the deployed service’s /predict endpoint. section 6.1.3

























