Spaces:
Paused
Paused
File size: 1,181 Bytes
60a994d 2c981cc e1765ac 2c981cc 60a994d 217e9e9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ---
title: Status Tracker
emoji: 🔄
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 6.9.0
app_file: app.py
pinned: false
---
# Status Tracker API
Centralized service for tracking generation status across multiple Hugging Face Spaces.
## API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | `/` | API information |
| GET | `/health` | Health check |
| GET | `/test` | Test endpoint |
| POST | `/register` | Register a new project |
| POST | `/update` | Update service status |
| GET | `/status/{project_id}` | Get project status |
| GET | `/projects` | List all projects |
## Example Usage
```bash
# Register a project
curl -X POST https://yukee1992-status-tracker.hf.space/register \\
-H "Content-Type: application/json" \\
-d '{
"project_id": "video123",
"n8n_webhook": "https://your-n8n.com/webhook",
"services": ["tts", "image"]
}'
# Update status
curl -X POST https://yukee1992-status-tracker.hf.space/update \\
-H "Content-Type: application/json" \\
-d '{
"project_id": "video123",
"service_type": "tts",
"status": "completed",
"file_urls": ["https://example.com/audio.mp3"]
}' |