Skip to main content
Version: 0.9.12 — archived documentation

API server config

Path: /admin-settings → API Server Config tab

Configure how the API server (TelAPI) instance set scales under load, and how inbound requests are throttled.

General​

FieldRequiredDescription
EnabledYesMaster toggle for the config.

Auto-scaling​

Same model as Server groups applied to API server instances.

FieldRequiredDefaultDescription
Scaling EnabledYesfalseMaster toggle.
Min InstancesYes1Never scales below.
Max InstancesYes10Never scales above.
Scale Up ThresholdYes0.7Utilisation (0 – 1) triggering scale-up.
Scale Down ThresholdYes0.3Utilisation triggering scale-down.
Cooldown SecondsYes300Min wait between actions.
Scaling ProviderYes—hetzner / aws / custom.
Scaling ConfigNo—Provider-specific JSON.

Rate limiting​

FieldRequiredDefaultDescription
Rate Limit EnabledYestrueToggle.
Rate Limit MaxYes100Max requests per window.
Rate Limit Window (ms)Yes60000Window length in ms (60 000 = 1 minute).
Per API KeyYes—true → per key; false → per source IP.

When the counter exceeds Max within the window, requests are rejected with 429 Too Many Requests. Counters reset on window expiry.

Daily team limit

This is the platform-wide limit. Teams also have per-team daily limits configured in Users and teams → API Access Configuration.

Workflows​

Configure rate limiting​

Enable the config → toggle Rate Limit on → set Max + Window → choose Per API Key (recommended) or IP → save.

Enable auto-scaling​

Enable the config → toggle Scaling on → set min/max/thresholds/cooldown/provider/config → save.

See also​