These are the same endpoints the Square1 web app uses. They are stable
in practice but not versioned — treat unknown fields as forward
compatibility, and poll politely (they answer from caches; once per
15–30 s is plenty). Rate limit: 60 requests/minute per IP.
Base URLs
Model fleet — GET /api/stats/fleet
Live per-model health, throughput, and the enforced input ceiling:
status—ok·degraded(elevated error rate) ·down(majority of recent requests failing) ·idle(no traffic in the last 24 h — a neutral “no signal”, not a failure).sparkline— seven 10-minute buckets of output tokens/second, oldest first.ttfb_ms— average time-to-first-byte over the last hour (informational; slow ≠ unhealthy for reasoning models).max_input_tokens— the same live ceiling/v1/modelsreports, here without authentication.
Platform quota — GET /api/quota
Today’s shared per-model daily caps:
global is a display sum of the per-model rows, not an enforced
ceiling — the real limits are the per-model entries.Server stats — GET /api/stats/server
Aggregate platform figures: today’s pooled usage (quota, same block as
above), active users, current tps, and allTime
(requests/tokens/input/output).