API

REST at /api/v1. Default bind 127.0.0.1:9410.

Tokens

install.sh --operator-email creates the first operator. templass-controller bootstrap-operator is only for that first account, if you create it by hand. Additional operators are added with templass-controller create-operator. Operators then create API tokens under Users in the operator dashboard. A hosting customer creates a token in the customer panel, scoped read or mitigate.

Send it as Authorization: Bearer TOKEN. Login is rate-limited. Browser sessions use CSRF protection.

/ingest requires authentication.

Live updates: SSE at /api/v1/events.

Prometheus: /metrics (collector packets and flows, decode errors, unknown exporters, tracked hosts, active attacks, BGP announces, withdraws, rejections, peer state).

OpenAPI

The OpenAPI spec ships in the bundle at docs/openapi/v1.yaml.