status-tracker / README.md
yukee1992's picture
Update README.md
217e9e9 verified

A newer version of the Gradio SDK is available: 6.14.0

Upgrade
metadata
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

# 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"]
  }'