AI-powered status monitoring for LLM model health and availability
Features β’ Installation β’ Usage β’ API Documentation β’ Examples
- π Concurrent Health Checks - Monitor multiple models simultaneously
- π― Multi-Model Support - Chat, Embedding, Image generation, and Reranker models
- βοΈ Configurable Timeouts - Customize request timeouts per check
- π Detailed Metrics - Real-time latency measurements and status reporting
- π¨ Beautiful Dashboard - Modern, responsive web UI with real-time updates
- π³ Easy Deployment - Docker Compose ready with minimal configuration
- π Auto-Generated API Docs - Interactive Swagger UI and ReDoc documentation
# Clone the repository
git clone https://github.com/ai-flowx/statusx.git
cd statusx
# Create a virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install .# Clone the repository
git clone https://github.com/ai-flowx/statusx.git
cd statusx
# Create .env file from example
cp .env.example .env
# Edit .env with your API credentials
# Start the service
docker-compose up -dCreate a .env file in the project root with the following variables:
DRIVEX_URL=https://api.drivex.com/v1
DRIVEX_KEY=your_drivex_api_key
DRIVEX_TIMEOUT=30| Variable | Description | Default |
|---|---|---|
DRIVEX_URL |
DriveX API base URL | http://127.0.0.1 |
DRIVEX_KEY |
Your DriveX API key | Required |
DRIVEX_TIMEOUT |
Request timeout in seconds | 30 |
# Start the service
docker-compose up -d
# View logs
docker-compose logs -f
# Stop the service
docker-compose downThe server will be available at http://localhost:8000
# Start the development server
uvicorn src.statusx.main:app --reload
# Or use the run script
./script/run.shThe server will be available at http://localhost:8000
Visit http://localhost:8000 to access the beautiful, real-time monitoring dashboard featuring:
- β System-wide health status
- π Individual model status cards
- β‘ Response latency metrics
- π Auto-refresh capability
- π― Color-coded status indicators
| Method | Endpoint | Description |
|---|---|---|
GET |
/ |
Root endpoint with service information |
GET |
/api |
API endpoint listing |
GET |
/api/health |
Service health check |
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/models/health |
Check health of multiple chat models |
GET |
/api/models/{model_id}/health |
Check health of a specific chat model |
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/embeddings/health |
Check health of multiple embedding models |
GET |
/api/embeddings/{model_id}/health |
Check health of a specific embedding model |
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/images/health |
Check health of multiple image models |
GET |
/api/images/{model_id}/health |
Check health of a specific image model |
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/rerankers/health |
Check health of multiple reranker models |
GET |
/api/rerankers/{model_id}/health |
Check health of a specific reranker model |
curl -X POST http://localhost:8000/api/models/healthResponse Example
{
"healthy": true,
"models": [
{
"model": "gpt-4o",
"status": "healthy",
"latency_ms": 234.56,
"error": null
},
{
"model": "gpt-3.5-turbo",
"status": "healthy",
"latency_ms": 156.78,
"error": null
}
],
"timestamp": 1704326400.0
}curl -X POST http://localhost:8000/api/embeddings/healthcurl -X POST http://localhost:8000/api/images/healthcurl -X POST http://localhost:8000/api/rerankers/health# Check a specific chat model
curl http://localhost:8000/api/models/gpt-4o/health
# Check a specific reranker model
curl http://localhost:8000/api/rerankers/rerank-1/healthcurl -X POST http://localhost:8000/api/models/health \
-H "Content-Type: application/json" \
-d '{"timeout": 15}'StatusX provides automatically generated interactive API documentation:
- Swagger UI:
http://localhost:8000/docs- Interactive API explorer - ReDoc:
http://localhost:8000/redoc- Clean API reference documentation
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with:
- FastAPI - Modern, fast web framework
- Tailwind CSS - Utility-first CSS framework
- DriveX API - LLM model provider
Made with β€οΈ by the StatusX Team