Endpoint
Request
No parameters required.Request Example
Response
Success Response (200)
Use Cases
- Verify all models are loaded before processing
- Display model information in admin dashboards
- Track model versions for auditing
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get information about loaded models
GET /v1/models
curl http://localhost:8000/v1/models
import requests
response = requests.get("http://localhost:8000/v1/models")
print(response.json())
{
"models": [
{
"name": "Sexism Classifier (LASSO)",
"version": "sexism_lasso_v1",
"loaded": true,
"description": "Custom LASSO model trained on ~40k sexist/non-sexist tweets"
},
{
"name": "Toxicity Transformer",
"version": "toxic_roberta_v1",
"loaded": true,
"description": "HuggingFace transformer model for multi-label toxicity detection"
},
{
"name": "Rule-Based Engine",
"version": "rules_v1",
"loaded": true,
"description": "Heuristics engine for slur detection, threats, self-harm, and profanity"
}
]
}