📧 Email Attachment Classifier API

This API classifies whether an email message indicates an attachment or not using Naive Bayes classifier.

Available Endpoints:

GET /info

Get model information and statistics

POST /predict

Predict single email message

Body: {"message": "Your email content here"}

POST /predict-batch

Predict multiple email messages

Body: {"messages": ["Email 1", "Email 2", ...]}

GET /health

Check API health status

Interactive Documentation:

Visit /docs for Swagger UI or /redoc for ReDoc

Labels: