curl --request GET \
--url https://api.example.com/health{
"ready": true,
"predictor_loaded": true,
"drift_baseline_loaded": true
}curl --request GET \
--url https://api.example.com/health{
"ready": true,
"predictor_loaded": true,
"drift_baseline_loaded": true
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/RaviTejaMedarametla/Data-Science-AI-Portfolio/llms.txt
Use this file to discover all available pages before exploring further.
GET /health
true only when model, threshold, and feature config are all loaded.curl -X GET "http://localhost:8000/health" \
-H "accept: application/json"
{
"ready": true,
"predictor_loaded": true,
"drift_baseline_loaded": true
}
{
"ready": false,
"predictor_loaded": false,
"drift_baseline_loaded": false
}
src/api.py:275-281
Response Model: HealthResponse (src/api.py:50-53)
class HealthResponse(BaseModel):
ready: bool
predictor_loaded: bool
drift_baseline_loaded: bool
_MODEL: Trained scikit-learn model_THRESHOLD: Classification threshold_FEATURE_CFG: Feature engineering configuration_DRIFT_BASELINE: Baseline statistics for drift monitoring