Spaces:
Running
Running
metadata
title: API Router
emoji: 🔀
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
startup_duration_timeout: 10m
pinned: false
API Router Space
A lightweight API routing service with an optional browser-based IDE.
Secrets (set in Space Settings → Variables & secrets)
| Name | Description |
|---|---|
HF_TOKEN |
HuggingFace token for dataset backup |
HF_DATASET |
Dataset repo for backup, e.g. username/my-dataset |
DASHBOARD_PASSWORD |
Dashboard access password |
API_KEY_1 |
Client API key |
CODE_SERVER_PASSWORD |
IDE login password |
Optional Variables
| Name | Default | Description |
|---|---|---|
IDE_IDLE_MINUTES |
30 |
Minutes before IDE auto-stops |
FORCE_RESTORE |
false |
Force restore from latest backup |