Spaces:
Running
Running
Commit History
-
Mount API at /api path instead of root
openhands- API endpoints now available at /api/* (e.g., /api/leaderboard, /api/health) - Swagger docs at /api/docs - Gradio UI remains at root path (/)c744cbf -
Add REST API for programmatic access to leaderboard data
openhands- Add api.py with FastAPI endpoints for leaderboard data - Mount API on root path using gr.mount_gradio_app() - Add API documentation link to About page Resources section - API uses same data loading functions as UI for consistency Endpoints: - /health - Health check with cache status - /leaderboard - Full leaderboard with filtering/sorting - /leaderboard/models - List all models - /leaderboard/model/{name} - Get specific model - /categories - List benchmark categories - /benchmarks - List benchmarks - /docs - Swagger UI documentationd05a70e